Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lower Case

NPM version Build status Test coverage Gittip

Lower case a string. Also handles non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will come out as an empty string.

Installation

npm install lower-case --save

Usage

var lowerCase = require('lower-case');

lowerCase(null);     //=> ""
lowerCase('STRING'); //=> "string"

upperCase({ toString: function () { return 'TEST'; } }); //=> "test"

License

MIT

About

Lowercase a string in JavaScript

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages