{"_id":"assign-value","_rev":"76580","name":"assign-value","description":"Assign a value or extend a deeply nested property of an object using object path notation.","dist-tags":{"latest":"0.1.2"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:24:42.000Z","created":"2015-07-08T23:38:57.605Z","0.1.2":"2015-10-02T07:45:32.695Z","0.1.1":"2015-10-02T07:44:10.515Z","0.1.0":"2015-07-08T23:38:57.605Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/assign-value.git"},"versions":{"0.1.2":{"name":"assign-value","description":"Assign a value or extend a deeply nested property of an object using object path notation.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/assign-value","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/assign-value.git"},"bugs":{"url":"https://github.com/jonschlinkert/assign-value/issues"},"license":"MIT","files":["index.js","utils.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.0","get-value":"^1.1.5","is-extendable":"^0.1.1","lazy-cache":"^0.2.3","set-value":"^0.2.0"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["assign","dot","extend","get","has","merge","nested","notation","object","path","prop","property","set","value"],"verb":{"related":{"list":["assign-value","set-value","get-value","union-value","has-value"]}},"gitHead":"22b3f7e5260810c693586928b231ad4f4cea72ae","_id":"assign-value@0.1.2","_shasum":"05c7430428893f73a614655c97f15138f2c4093d","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"05c7430428893f73a614655c97f15138f2c4093d","size":2428,"noattachment":false,"key":"/assign-value/-/assign-value-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/assign-value/download/assign-value-0.1.2.tgz"},"directories":{},"publish_time":1443771932695,"_cnpm_publish_time":1443771932695,"_hasShrinkwrap":false},"0.1.1":{"name":"assign-value","description":"Assign a value or extend a deeply nested property of an object using object path notation.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/assign-value","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/assign-value.git"},"bugs":{"url":"https://github.com/jonschlinkert/assign-value/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.0","get-value":"^1.1.5","is-extendable":"^0.1.1","lazy-cache":"^0.2.3","set-value":"^0.2.0"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["assign","dot","extend","get","has","merge","nested","notation","object","path","prop","property","set","value"],"verb":{"related":{"list":["assign-value","set-value","get-value","union-value","has-value"]}},"gitHead":"22b3f7e5260810c693586928b231ad4f4cea72ae","_id":"assign-value@0.1.1","_shasum":"192dea662ea593774a67e886e0ae677c328a9c4d","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"192dea662ea593774a67e886e0ae677c328a9c4d","size":2273,"noattachment":false,"key":"/assign-value/-/assign-value-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/assign-value/download/assign-value-0.1.1.tgz"},"directories":{},"publish_time":1443771850515,"_cnpm_publish_time":1443771850515,"_hasShrinkwrap":false},"0.1.0":{"name":"assign-value","description":"Extend a value or deeply nested property of an object using object path notation.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/assign-value","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/assign-value.git"},"bugs":{"url":"https://github.com/jonschlinkert/assign-value/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.0","get-value":"^1.1.5","is-extendable":"^0.1.1","set-value":"^0.2.0"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["assign","dot","extend","get","has","merge","nested","notation","object","path","prop","property","set","value"],"verb":{"related":{"list":["assign-value","set-value","get-value","union-value","has-value"]}},"_id":"assign-value@0.1.0","_shasum":"52e302a991bc5c7425bc039af419c85ec19cc9d2","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"52e302a991bc5c7425bc039af419c85ec19cc9d2","size":2211,"noattachment":false,"key":"/assign-value/-/assign-value-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/assign-value/download/assign-value-0.1.0.tgz"},"directories":{},"publish_time":1436398737605,"_cnpm_publish_time":1436398737605,"_hasShrinkwrap":false}},"readme":"# assign-value [![NPM version](https://badge.fury.io/js/assign-value.svg)](http://badge.fury.io/js/assign-value)\n\n> Assign a value or extend a deeply nested property of an object using object path notation.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i assign-value --save\n```\n\n## Usage\n\n```js\nvar assign = require('assign-value');\n\nvar obj = {};\nassign(obj, 'foo', {a: 'b'})\n// obj.foo ==> {a: 'b'}\n\nvar obj = {foo: {a: 'b'}};\nassign(obj, 'foo', {c: 'd'})\n// obj.foo ==> {a: 'b', c: 'd'}\n\nvar obj = {};\nassign(obj, 'a.b.c', {one: 'two'});\nassign(obj, 'a.b.c', {three: 'four'});\n// obj.a.b.c ==> {one: 'two', three: 'four'}\n```\n\n## Related projects\n\n* [get-value](https://www.npmjs.com/package/get-value): Use property paths (`  a.b.c`) to get a nested value from an object. | [homepage](https://github.com/jonschlinkert/get-value)\n* [has-value](https://www.npmjs.com/package/has-value): Returns true if a value exists, false if empty. Works with deeply nested values using… [more](https://www.npmjs.com/package/has-value) | [homepage](https://github.com/jonschlinkert/has-value)\n* [set-value](https://www.npmjs.com/package/set-value): Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths. | [homepage](https://github.com/jonschlinkert/set-value)\n* [union-value](https://www.npmjs.com/package/union-value): Set an array of unique values as the property of an object. Supports setting deeply… [more](https://www.npmjs.com/package/union-value) | [homepage](https://github.com/jonschlinkert/union-value)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/assign-value/issues/new).\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on October 02, 2015._","_attachments":{},"homepage":"https://github.com/jonschlinkert/assign-value","bugs":{"url":"https://github.com/jonschlinkert/assign-value/issues"},"license":"MIT"}