{"name":"modify-values","version":"1.0.0","description":"Modify the values of an object","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/modify-values"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["object","assign","extend","properties","values","val","transform","transformation","map","modify"],"devDependencies":{"ava":"0.0.4"},"gitHead":"31c94560a745cf780b28d9951e6c2b0463f862d0","bugs":{"url":"https://github.com/sindresorhus/modify-values/issues"},"homepage":"https://github.com/sindresorhus/modify-values","_id":"modify-values@1.0.0","_shasum":"e2b6cdeb9ce19f99317a53722f3dbf5df5eaaab2","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"e2b6cdeb9ce19f99317a53722f3dbf5df5eaaab2","tarball":"http://registry-npm.ywwl.com/modify-values/download/modify-values-1.0.0.tgz","integrity":"sha512-vORhiUSHLkMjEclI6FyOc9skMcy6sgUXa743GcvrwDEiMcYxtFX3EXwlniD/NmzBO2K3VqJlayGeDOX4bm/C8Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbAPxqmn4Qv6TM1YyfWajcPLF5yW1S64E7yvQhYAukcAiEA1KAbFVnfxdA575YsFgITbiGQhU+TMLRWfs7GNKvZQvU="}],"size":997,"noattachment":false,"key":"/modify-values/-/modify-values-1.0.0.tgz"},"directories":{},"readme":"# modify-values\n\n> Modify the values of an object\n\n## Install\n\n```\n$ npm install modify-values\n```\n\n## Usage\n\n```js\nimport modifyValues from 'modify-values';\n\nmodifyValues({foo: 'UNICORN'}, (value, key) => value.toLowerCase());\n//=> {foo: 'unicorn'}\n```\n\n## API\n\n### modifyValues(object, transformer)\n\nModifies the values and returns a new object.\n\n#### object\n\nType: `object`\n\n#### transformer(value, key)\n\nType: `Function`\n\nGets the value and key for each item and is expected to return the new value.\n\n## Related\n\nSee [`modify-keys`](https://github.com/sindresorhus/modify-keys) for modifying the keys of an object.\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-modify-values?utm_source=npm-modify-values&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","publish_time":1422183250227,"_cnpm_publish_time":1422183250227,"dist-tags":{"latest":"2.1.1"}}