Need private packages and team management tools?Check out npm Teams »

lowercase-keys

2.0.0 • Public • Published

lowercase-keys Build Status

Lowercase the keys of an object

Install

$ npm install lowercase-keys

Usage

const lowercaseKeys = require('lowercase-keys');
 
lowercaseKeys({FOO: true, bAr: false});
//=> {foo: true, bar: false}

API

lowercaseKeys(object)

Returns a new object with the keys lowercased.

License

MIT © Sindre Sorhus

Install

npm i lowercase-keys

DownloadsWeekly Downloads

11,152,966

Version

2.0.0

License

MIT

Unpacked Size

2.78 kB

Total Files

5

Last publish

Collaborators

  • avatar