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