|
|
%!s(int64=2) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| index.d.ts | %!s(int64=2) %!d(string=hai) anos | |
| index.js | %!s(int64=2) %!d(string=hai) anos | |
| license | %!s(int64=2) %!d(string=hai) anos | |
| package.json | %!s(int64=2) %!d(string=hai) anos | |
| readme.md | %!s(int64=2) %!d(string=hai) anos | |
Lowercase the keys of an object
$ npm install lowercase-keys
const lowercaseKeys = require('lowercase-keys');
lowercaseKeys({FOO: true, bAr: false});
//=> {foo: true, bar: false}
Returns a new object with the keys lowercased.
MIT © Sindre Sorhus