{"name":"modify-values","version":"1.0.1","description":"Modify the values of an object","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/modify-values.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"ava"},"files":["index.js"],"keywords":["object","assign","extend","properties","values","val","transform","transformation","map","modify"],"devDependencies":{"ava":"*"},"gitHead":"1f4ddda21cf48a35f60d42aed0bd3d2373e5b167","bugs":{"url":"https://github.com/sindresorhus/modify-values/issues"},"homepage":"https://github.com/sindresorhus/modify-values#readme","_id":"modify-values@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==","shasum":"b3939fa605546474e3e3e3c63d64bd43b4ee6022","tarball":"http://registry-npm.ywwl.com/modify-values/download/modify-values-1.0.1.tgz","fileCount":4,"unpackedSize":2860,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHFm+ELJACZQDegIY6IRXWwxWA+roObkX3T32Wpa/rnIAiEA9Hdhn+qYVdoQ/5WrXEMJrTOGkDO2UhV1mgKhDhUONZU="}],"size":1654,"noattachment":false,"key":"/modify-values/-/modify-values-1.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modify-values_1.0.1_1521790547165_0.789706550199825"},"_hasShrinkwrap":false,"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":1521790547388,"_cnpm_publish_time":1521790547388,"dist-tags":{"latest":"2.1.1"}}