lowercasekeys
v0.0.5
Published
Get low
Downloads
8
Readme
lowercasekeys
Install
$ npm i --save lowercasekeys
Usage
import lowercasekeys from 'lowercasekeys'
const obj = {
Won: 'One',
Too: 'Two',
FREE: 'Three',
ForeArm: 'Four',
}
lowercasekeys(obj)
// { won: 'One', too: 'Two', free: 'Three', forearm: 'Four' }
API
lowercasekeys(object)
Lowercases the keys of an object and returns a new object
License
MIT © Vito Belgiorno-Zegna