You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
533 B
533 B
lowercase-keys
Lowercase the keys of an object
Install
$ npm install --save lowercase-keys
Usage
var lowercaseKeys = require('lowercase-keys');
lowercaseKeys({FOO: true, bAr: false});
//=> {foo: true, bar: false}
API
lowercaseKeys(object)
Lowercases the keys and returns a new object.
License
MIT © Sindre Sorhus