1 | # Param Case
|
2 |
|
3 | > Transform into a lower cased string with dashes between words.
|
4 |
|
5 | ## Installation
|
6 |
|
7 | ```
|
8 | npm install param-case --save
|
9 | ```
|
10 |
|
11 | ## Usage
|
12 |
|
13 | ```js
|
14 | import { paramCase } from "param-case";
|
15 |
|
16 | paramCase("string"); //=> "string"
|
17 | paramCase("dot.case"); //=> "dot-case"
|
18 | paramCase("PascalCase"); //=> "pascal-case"
|
19 | paramCase("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
|