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.
npm install lower-case --savevar lowerCase = require('lower-case');
lowerCase(null); //=> ""
lowerCase('STRING'); //=> "string"
upperCase({ toString: function () { return 'TEST'; } }); //=> "test"MIT