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

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]node_modules/2 years ago -  
[   ]LICENSE9 years ago1.1K 
[TXT]README.md9 years ago1.3Kd7c1522 post receive test [كارل مبارك]
[   ]package.json2 years ago1.8K 
[TXT]path-case.d.ts9 years ago 88  
[   ]path-case.js9 years ago224  
README.md

Path Case

NPM version NPM downloads Build status Test coverage

Path case a string.

Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will result in an empty string.

Installation

npm install path-case --save

Usage

var pathCase = require('path-case')

pathCase('string')        //=> "string"
pathCase('camelCase')     //=> "camel/case"
pathCase('sentence case') //=> "sentence/case"

pathCase('MY STRING', 'tr') //=> "my/strıng"

Typings

Includes a TypeScript definition.

License

MIT

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