{"_id":"object.map","_rev":"81431","name":"object.map","description":"Similar to map for arrays, this creates a new object by calling the callback on each property of the original object.","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"time":{"modified":"2021-06-03T10:25:59.000Z","created":"2014-10-07T20:11:00.942Z","1.0.1":"2017-12-21T18:44:26.243Z","1.0.0":"2017-02-27T00:25:13.293Z","0.2.0":"2014-12-13T00:31:32.902Z","0.1.0":"2014-10-07T20:11:00.942Z"},"users":{"twostairs":true,"usex":true},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/object.map.git"},"versions":{"1.0.1":{"name":"object.map","description":"Similar to map for arrays, this creates a new object by calling the callback on each property of the original object.","version":"1.0.1","homepage":"https://github.com/jonschlinkert/object.map","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Blaine Bublitz","url":"https://twitter.com/BlaineBublitz"},{"name":"Brian Woodward","url":"https://twitter.com/doowb"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/object.map.git"},"bugs":{"url":"https://github.com/jonschlinkert/object.map/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"for-own":"^1.0.0","make-iterator":"^1.0.0"},"devDependencies":{"gulp-format-md":"^0.1.11","mocha":"^3.2.0"},"keywords":["map","object"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["arr-map","array-each","collection-map"]},"lint":{"reflinks":true}},"gitHead":"10c1cd70264a65adcbce14ca0f6b718d448e055a","_id":"object.map@1.0.1","_shasum":"cf83e59dc8fcc0ad5f4250e1f78b3b81bd801d37","_from":".","_npmVersion":"2.15.1","_nodeVersion":"0.10.48","_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"dist":{"shasum":"cf83e59dc8fcc0ad5f4250e1f78b3b81bd801d37","size":2672,"noattachment":false,"key":"/object.map/-/object.map-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/object.map/download/object.map-1.0.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/object.map-1.0.1.tgz_1513881865318_0.47494188440032303"},"directories":{},"publish_time":1513881866243,"_hasShrinkwrap":false,"_cnpm_publish_time":1513881866243},"1.0.0":{"name":"object.map","description":"Similar to map for arrays, this creates a new object by calling the callback on each property of the original object.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/object.map","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/object.map.git"},"bugs":{"url":"https://github.com/jonschlinkert/object.map/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"keywords":["map","object"],"dependencies":{"for-own":"^0.1.4","make-iterator":"^1.0.0"},"devDependencies":{"gulp-format-md":"^0.1.11","mocha":"^3.2.0"},"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["collection-map","arr-map","array-each"]},"lint":{"reflinks":true}},"gitHead":"3d7a41e5e2b66892f9105364ba28819dee209c0d","_id":"object.map@1.0.0","_shasum":"92aef871cd6dcbced31fe29c0921db8395624597","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"dist":{"shasum":"92aef871cd6dcbced31fe29c0921db8395624597","size":2540,"noattachment":false,"key":"/object.map/-/object.map-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/object.map/download/object.map-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/object.map-1.0.0.tgz_1488155111408_0.20581129495985806"},"directories":{},"publish_time":1488155113293,"_cnpm_publish_time":1488155113293,"_hasShrinkwrap":false},"0.2.0":{"name":"object.map","description":"Similar to map for arrays, this creates a new object by calling the callback on each property of the original object.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/object.map","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/object.map.git"},"bugs":{"url":"https://github.com/jonschlinkert/object.map/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/object.map/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"for-own":"^0.1.2","make-iterator":"^0.1.1"},"devDependencies":{"mocha":"*","should":"^4.4.0"},"keywords":["for-in","for-own","iterate","iterator","key","map","object","prop","properties","property","value"],"_id":"object.map@0.2.0","_shasum":"731aed2618677d11989491d54f33ff63c91a3db6","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"dist":{"shasum":"731aed2618677d11989491d54f33ff63c91a3db6","size":1999,"noattachment":false,"key":"/object.map/-/object.map-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/object.map/download/object.map-0.2.0.tgz"},"directories":{},"publish_time":1418430692902,"_cnpm_publish_time":1418430692902,"_hasShrinkwrap":false},"0.1.0":{"name":"object.map","description":"Similar to map for arrays, this creates a new object by calling the callback on each property of the original object.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/object.map","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/object.map.git"},"bugs":{"url":"https://github.com/jonschlinkert/object.map/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/object.map/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.0.4","verb":">= 0.2.6"},"keywords":[],"dependencies":{"for-own":"^0.1.2","make-iterator":"^0.1.0"},"_id":"object.map@0.1.0","_shasum":"6e988635c85faa41fbc94a85d1eb83141a93528c","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"dist":{"shasum":"6e988635c85faa41fbc94a85d1eb83141a93528c","size":2983,"noattachment":false,"key":"/object.map/-/object.map-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/object.map/download/object.map-0.1.0.tgz"},"directories":{},"publish_time":1412712660942,"_cnpm_publish_time":1412712660942,"_hasShrinkwrap":false}},"readme":"# object.map [![NPM version](https://img.shields.io/npm/v/object.map.svg?style=flat)](https://www.npmjs.com/package/object.map) [![NPM monthly downloads](https://img.shields.io/npm/dm/object.map.svg?style=flat)](https://npmjs.org/package/object.map)  [![NPM total downloads](https://img.shields.io/npm/dt/object.map.svg?style=flat)](https://npmjs.org/package/object.map) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/object.map.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/object.map) [![Windows Build Status](https://img.shields.io/appveyor/ci/jonschlinkert/object.map.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/jonschlinkert/object.map)\n\n> Similar to map for arrays, this creates a new object by calling the callback on each property of the original object.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save object.map\n```\n\n## Usage\n\n```js\nvar mapValues = require('object.map');\n\nvar result = mapValues({a: 'a', b: 'b'}, function(val, key, obj) {\n  return val + val;\n});\nconsole.log(result);\n//=> {a: 'aa', b: 'bb'}\n```\n\nOptionally specify a `thisArg` as the last argument:\n\n```js\nvar result = mapValues({a: 'b'}, function(val, key, obj) {\n  return this.foo;\n}, {foo: 'bar'});\nconsole.log(result);\n//=> {a: 'bar'}\n```\n\n## About\n\n### Related projects\n\n* [arr-map](https://www.npmjs.com/package/arr-map): Faster, node.js focused alternative to JavaScript's native array map. | [homepage](https://github.com/jonschlinkert/arr-map \"Faster, node.js focused alternative to JavaScript's native array map.\")\n* [array-each](https://www.npmjs.com/package/array-each): Loop over each item in an array and call the given function on every element. | [homepage](https://github.com/jonschlinkert/array-each \"Loop over each item in an array and call the given function on every element.\")\n* [collection-map](https://www.npmjs.com/package/collection-map): Returns an array of mapped values from an array or object. | [homepage](https://github.com/jonschlinkert/collection-map \"Returns an array of mapped values from an array or 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### Contributors\n\n| **Commits** | **Contributor** |  \n| --- | --- |  \n| 4 | [jonschlinkert](https://github.com/jonschlinkert) |  \n| 1 | [phated](https://github.com/phated) |  \n| 1 | [doowb](https://github.com/doowb) |  \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.6.0, on December 20, 2017._","_attachments":{},"homepage":"https://github.com/jonschlinkert/object.map","bugs":{"url":"https://github.com/jonschlinkert/object.map/issues"},"license":"MIT"}