/ live.thehmm.nl / back / node_modules / upper-case-first /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSE9 years ago1.1K 
[TXT]README.md9 years ago1.3Kd7c1522 post receive test [كارل مبارك]
[   ]package.json2 years ago2.0K 
[TXT]upper-case-first.d.ts9 years ago100  
[   ]upper-case-first.js9 years ago304  
README.md

Upper Case First

NPM version NPM downloads Build status Test coverage

Upper case the first character of 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 upper-case-first --save

Usage

var upperCaseFirst = require('upper-case-first')

upperCaseFirst(null)     //=> ""
upperCaseFirst('string') //=> "String"

Typings

Includes a TypeScript definition.

License

MIT

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