1.0.2 • Published 3 years ago
object-keys-camelcase v1.0.2
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"
}