Dot Case
Transform into a lower case text with a period between words
Installation
npm install text-dot-case --save
Usage
import { dotCase } from "text-dot-case";
dotCase("string"); //=> "string"
dotCase("dot.case"); //=> "dot.case"
dotCase("PascalCase"); //=> "pascal.case"
dotCase("camelCase"); //=> "camel.case"
dotCase("version 1.2.3"); //=> "version.1.2.3"
The function also accepts options
.
License
MIT