UNPKG

460 BMarkdownView Raw
1# Dot Case
2
3> Transform into a lower case string with a period between words.
4
5## Installation
6
7```
8npm install dot-case --save
9```
10
11## Usage
12
13```js
14import { dotCase } from "dot-case";
15
16dotCase("string"); //=> "string"
17dotCase("dot.case"); //=> "dot.case"
18dotCase("PascalCase"); //=> "pascal.case"
19dotCase("version 1.2.10"); //=> "version.1.2.10"
20```
21
22The function also accepts [`options`](https://github.com/blakeembrey/change-case#options).
23
24## License
25
26MIT