object-keys-camelcase

1.0.2 • Public • Published

Install

$ npm install object-keys-camelcase

Usage

const objToCamel = require("object-keys-camelcase");
const myObj = {
    key_one: "value",
    another_key: "another value"
};

console.log(objToCamel(myObj));

Output:

{
    keyOne: "value",
    anotherKey: "another value"
}

Readme

Keywords

Package Sidebar

Install

npm i object-keys-camelcase

Weekly Downloads

7

Version

1.0.2

License

MIT

Unpacked Size

2.39 kB

Total Files

4

Last publish

Collaborators

  • gvout