Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

Latest commit

 

History

History
33 lines (17 loc) · 533 Bytes

File metadata and controls

33 lines (17 loc) · 533 Bytes

lowercase-keys Build Status

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