/ live.thehmm.nl / back / node_modules / param-case /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]dist/2 years ago -  
[DIR]dist.es2015/2 years ago -  
[   ]package.json2 years ago3.0K 
[TXT]README.md40 years ago1.0Kd7c1522 post receive test [كارل مبارك]
[   ]LICENSE40 years ago1.1K 
README.md

Param Case

NPM version NPM downloads Bundle size

Transform into a lower cased string with dashes between words.

Installation

npm install param-case --save

Usage

import { paramCase } from "param-case";

paramCase("string"); //=> "string"
paramCase("dot.case"); //=> "dot-case"
paramCase("PascalCase"); //=> "pascal-case"
paramCase("version 1.2.10"); //=> "version-1-2-10"

The function also accepts options.

License

MIT

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80