recursive-change-keys
v0.1.8
Published
Let the user change keys of an object recursively.
Downloads
2,542
Readme
recursive-change-keys
A small npm module that let the user change keys of an object recursively and return a new object.
Installation
npm install recursive-change-keys
Usage
var recursiveChangeKeys = require("recursive-change-keys");
obj = recursiveChangeKeys(obj, {oldkey1: "newkey1", oldkey2: "newkey2"});
console.log(obj);
Tests
npm test
Release History
- 0.1.0 Initial Release