JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 24379800
  • Score
    100M100P100Q54213F
  • License MIT

Lowercase a string

Package Exports

  • lower-case

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (lower-case) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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