JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 16722174
  • Score
    100M100P100Q229778F
  • License MIT

Convert object keys to camelCase

Package Exports

  • camelcase-keys

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (camelcase-keys) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

camelcase-keys Build Status

Convert object keys to camelCase using camelcase

Install

$ npm install --save camelcase-keys

Usage

const camelcaseKeys = require('camelcase-keys');

camelcaseKeys({'foo-bar': true});
//=> {fooBar: true}


const argv = require('minimist')(process.argv.slice(2));
//=> {_: [], 'foo-bar': true}

camelcaseKeys(argv);
//=> {_: [], fooBar: true}

License

MIT © Sindre Sorhus