{"name":"nessy","version":"5.0.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.0.0","homepage":"https://github.com/coderaiser/nessy","bugs":{"url":"https://github.com/coderaiser/nessy/issues"},"dist":{"shasum":"2c3e514e33d106a6ed04362e5eb9598a51b2b3c6","tarball":"http://registry-npm.ywwl.com/nessy/download/nessy-5.0.0.tgz","fileCount":5,"integrity":"sha512-fKKaU/DWAYMNzoyIbATHQluSr4Edl5IxWeQo2Pm12XiyvL3RryU7c0bSnIsACrYncEVmZhe/VnFK2tq2hXUvWA==","signatures":[{"sig":"MEUCIAuSvg8M6J0hlKd9SdH2AJFtRiWcp0I/2PXKBl1Ab8bMAiEAnTY82T8A2mYhFfPuvjeA9uwxI2n9IZVXiyzdeOCwlaM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6392,"size":2851,"noattachment":false,"key":"/nessy/-/nessy-5.0.0.tgz"},"main":"lib/nessy.js","engines":{"node":">=18"},"gitHead":"80e2991589b73b9753a339012253677fc2ae785f","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://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.0.0_1739556694074_0.5642611803026354","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":1739556694267,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1739556694267,"dist-tags":{"latest":"6.0.1"}}