{"_id":"deep-rename-keys","_rev":"3922776","name":"deep-rename-keys","description":"Recursively rename the keys in an object.","dist-tags":{"latest":"0.2.1"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2025-09-01T01:25:58.000Z","created":"2015-01-20T11:57:13.042Z","0.2.1":"2017-04-03T16:58:27.429Z","0.2.0":"2016-05-03T00:50:27.848Z","0.1.0":"2015-01-20T11:57:13.042Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/deep-rename-keys.git"},"versions":{"0.2.1":{"name":"deep-rename-keys","description":"Recursively rename the keys in an object.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/deep-rename-keys","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/deep-rename-keys.git"},"bugs":{"url":"https://github.com/jonschlinkert/deep-rename-keys/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"kind-of":"^3.0.2","rename-keys":"^1.1.2"},"devDependencies":{"gulp-format-md":"^0.1.9","mocha":"^2.4.5"},"keywords":["keys","nested","object","properties","props","recurse","recursively","rename"],"verb":{"plugins":["gulp-format-md"],"reflinks":["verb"],"related":{"list":["isobject","kind-of","rename-keys"]},"toc":false,"layout":"default","lint":{"reflinks":true},"tasks":["readme"]},"gitHead":"6333444697913d58f932ee2f77010764c165d165","_id":"deep-rename-keys@0.2.1","_shasum":"ede78537d7a66a2be61517e2af956d7f58a3f1d8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"ede78537d7a66a2be61517e2af956d7f58a3f1d8","size":2563,"noattachment":false,"key":"/deep-rename-keys/-/deep-rename-keys-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-rename-keys/download/deep-rename-keys-0.2.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/deep-rename-keys-0.2.1.tgz_1491238707124_0.7030519568361342"},"directories":{},"publish_time":1491238707429,"_hasShrinkwrap":false,"_cnpm_publish_time":1491238707429,"_cnpmcore_publish_time":"2021-12-16T21:07:34.386Z"},"0.2.0":{"name":"deep-rename-keys","description":"Recursively rename the keys in an object.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/deep-rename-keys","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/deep-rename-keys.git"},"bugs":{"url":"https://github.com/jonschlinkert/deep-rename-keys/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"kind-of":"^3.0.2","rename-keys":"^1.1.2"},"devDependencies":{"gulp-format-md":"^0.1.9","mocha":"^2.4.5"},"keywords":["keys","nested","object","properties","props","recurse","recursively","rename"],"verb":{"plugins":["gulp-format-md"],"reflinks":["verb"],"related":{"list":["rename-keys","kind-of","isobject"]},"toc":false,"layout":"default","lint":{"reflinks":true},"tasks":["readme"]},"gitHead":"408aa449d1528916f4110b6d0031ba885f56e402","_id":"deep-rename-keys@0.2.0","_shasum":"dc2aa1a46de504fe3eaa828b1dc5b2c626c3b845","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"dc2aa1a46de504fe3eaa828b1dc5b2c626c3b845","size":2405,"noattachment":false,"key":"/deep-rename-keys/-/deep-rename-keys-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-rename-keys/download/deep-rename-keys-0.2.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/deep-rename-keys-0.2.0.tgz_1462236626706_0.48221863410435617"},"directories":{},"publish_time":1462236627848,"_hasShrinkwrap":false,"_cnpm_publish_time":1462236627848,"_cnpmcore_publish_time":"2021-12-16T21:07:34.609Z"},"0.1.0":{"name":"deep-rename-keys","description":"Recursively rename the keys in an object.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/deep-rename-keys","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/deep-rename-keys.git"},"bugs":{"url":"https://github.com/jonschlinkert/deep-rename-keys/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/deep-rename-keys/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"kind-of":"^1.0.0","rename-keys":"^1.1.0"},"devDependencies":{"mocha":"*"},"keywords":["keys","nested","object","properties","props","recurse","recursively","rename"],"gitHead":"6bbec7a3927fb3ae8e4521ef5377ab91c94c3f0d","_id":"deep-rename-keys@0.1.0","_shasum":"17277da45d086f9c272f0e17504746e52372c11a","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"17277da45d086f9c272f0e17504746e52372c11a","size":1926,"noattachment":false,"key":"/deep-rename-keys/-/deep-rename-keys-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/deep-rename-keys/download/deep-rename-keys-0.1.0.tgz"},"directories":{},"publish_time":1421755033042,"_hasShrinkwrap":false,"_cnpm_publish_time":1421755033042,"_cnpmcore_publish_time":"2021-12-16T21:07:34.837Z"}},"readme":"# deep-rename-keys [![NPM version](https://img.shields.io/npm/v/deep-rename-keys.svg?style=flat)](https://www.npmjs.com/package/deep-rename-keys) [![NPM monthly downloads](https://img.shields.io/npm/dm/deep-rename-keys.svg?style=flat)](https://npmjs.org/package/deep-rename-keys)  [![NPM total downloads](https://img.shields.io/npm/dt/deep-rename-keys.svg?style=flat)](https://npmjs.org/package/deep-rename-keys) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/deep-rename-keys.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/deep-rename-keys)\n\n> Recursively rename the keys in an object.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save deep-rename-keys\n```\n\n## Usage\n\n```js\nvar rename = require('deep-rename-keys');\n\nvar obj = rename({a: {a: {a: 'b'}}}, function(key) {\n  if (key === 'a') return 'zzz';\n  return key;\n});\n//=> {zzz: {zzz: {zzz: 'b'}}}\n```\n\n## About\n\n### Related projects\n\n* [isobject](https://www.npmjs.com/package/isobject): Returns true if the value is an object and not an array or null. | [homepage](https://github.com/jonschlinkert/isobject \"Returns true if the value is an object and not an array or null.\")\n* [kind-of](https://www.npmjs.com/package/kind-of): Get the native type of a value. | [homepage](https://github.com/jonschlinkert/kind-of \"Get the native type of a value.\")\n* [rename-keys](https://www.npmjs.com/package/rename-keys): Modify the names of the own enumerable properties (keys) of an object. | [homepage](https://github.com/jonschlinkert/rename-keys \"Modify the names of the own enumerable properties (keys) of an object.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.3, on April 03, 2017._","_attachments":{},"homepage":"https://github.com/jonschlinkert/deep-rename-keys","bugs":{"url":"https://github.com/jonschlinkert/deep-rename-keys/issues"},"license":"MIT"}