{"name":"nessy","version":"5.2.0","keywords":["json","object","value","nested","set"],"author":{"url":"http://coderaiser.github.io/","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"nessy@5.2.0","homepage":"https://github.com/coderaiser/nessy","bugs":{"url":"https://github.com/coderaiser/nessy/issues"},"dist":{"shasum":"0a139ae874ff87009186b81e7115bf01ca290c70","tarball":"http://registry-npm.ywwl.com/nessy/download/nessy-5.2.0.tgz","fileCount":5,"integrity":"sha512-mKMZGcLSoDnLaR/ECVBYA9K3zh4kY5zhOipYzxzWcSdalRFxaTJTYrZvHUAQIJ7RBEcGD2NzUqD8aCbC8sHSrg==","signatures":[{"sig":"MEUCIQCmsH2n2kWl65yXuDYNXYc1ziBkw27fX39WEOw2olNZFQIgYGUVzLk3NMyBv+evXDcE3oeOqWaYPQCILAz9j5BOJ5c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6948,"size":3053,"noattachment":false,"key":"/nessy/-/nessy-5.2.0.tgz"},"main":"lib/nessy.js","type":"commonjs","engines":{"node":">=18"},"gitHead":"c050c2013f8bc7cddfc563e5a3c4daea01083c7f","scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","watcher":"madrun watcher","coverage":"madrun coverage","fix:lint":"madrun fix:lint","watch:test":"madrun watch:test"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"repository":{"url":"git+https://github.com/coderaiser/nessy.git","type":"git"},"_npmVersion":"10.9.0","description":"set value in nested object","directories":{},"_nodeVersion":"22.14.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.3","eslint":"^9.20.1","madrun":"^10.2.5","putout":"^38.1.8","nodemon":"^3.1.9","coveralls":"^3.0.0","supertape":"^10.10.0","try-catch":"^3.0.1","eslint-plugin-n":"^17.15.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^24.1.0"},"_npmOperationalInternal":{"tmp":"tmp/nessy_5.2.0_1739706801479_0.9182763535053635","host":"s3://npm-registry-packages-npm-production"},"readme":"# Nessy [![NPM version][NPMIMGURL]][NPMURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/nessy.svg?style=flat\n[BuildStatusURL]: https://github.com/coderaiser/nessy/actions?query=workflow%3A%22Node+CI%22 \"Build Status\"\n[BuildStatusIMGURL]: https://github.com/coderaiser/nessy/workflows/Node%20CI/badge.svg\n[NPMURL]: https://npmjs.org/package/nessy \"npm\"\n[CoverageURL]: https://coveralls.io/github/coderaiser/nessy?branch=master\n[CoverageIMGURL]: https://coveralls.io/repos/coderaiser/nessy/badge.svg?branch=master&service=github\n\nSet value in nested object.\n\n## Install\n\n`npm i nessy --save`\n\n## Hot to use?\n\n```js\nconst nessy = require('nessy');\n\nnessy('hello.world', 'why not?', '.', {\n    hello: {\n        world: 'could be used in browser as well',\n    },\n});\n\n// returns\n({\n    hello: {\n        world: 'why not?',\n    },\n});\n\nnessy('hello*world', 'why not?', '*', {\n    hello: {\n        world: 'can be used any divider',\n    },\n});\n\n// returns\n({\n    hello: {\n        world: 'why not?',\n    },\n});\n\n// even arrays supported\nnessy('hello.0', 'world', {});\n// returns\n({\n    hello: ['world'],\n});\n```\n\n## Related\n\n- [jessy](https://github.com/coderaiser/jessy \"jessy\") - get value by object property.\n- [all-object-keys](https://github.com/coderaiser/all-object-keys \"all-object-keys\") - get all keys of object.\n- [finicky](https://github.com/coderaiser/finicky \"finicky\") delete property of an object\n\n## License\n\nMIT\n","publish_time":1739706801676,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1739706801676,"dist-tags":{"latest":"6.0.1"}}