/ live.thehmm.nl / back / node_modules / title-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]title-case.d.ts9 years ago 90  
[   ]title-case.js9 years ago328  
README.md

Title Case

NPM version NPM downloads Build status Test coverage

Title 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 title-case --save

Usage

var titleCase = require('title-case');

titleCase('string')     //=> "String"
titleCase('PascalCase') //=> "Pascal Case"

titleCase('STRING', 'tr') //=> "Strıng"

Typings

Includes a TypeScript definition.

License

MIT

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