Have ideas to improve npm?Join in the discussion! »

    lowercase-keys
    TypeScript icon, indicating that this package has built-in type declarations

    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

    21,665,958

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    2.78 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar