auth-api/tests/node_modules/lowercase-keys/readme.md
2021-06-23 22:30:45 +02:00

529 B

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