{"name":"nessy","version":"6.0.1","type":"module","description":"set value in nested object","main":"lib/nessy.cjs","exports":"./lib/nessy.js","scripts":{"test":"madrun test","watcher":"madrun watcher","watch:test":"madrun watch:test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"repository":{"type":"git","url":"git+https://github.com/coderaiser/nessy.git"},"keywords":["json","object","value","nested","set"],"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"http://coderaiser.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/coderaiser/nessy/issues"},"engines":{"node":">=22"},"homepage":"https://github.com/coderaiser/nessy","devDependencies":{"c8":"^10.1.3","coveralls":"^3.0.0","eslint":"^9.20.1","eslint-plugin-n":"^17.15.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^29.3.0","madrun":"^12.1.0","nodemon":"^3.1.9","putout":"^41.6.5","supertape":"^12.0.9","try-catch":"^4.0.7"},"dependencies":{},"_id":"nessy@6.0.1","gitHead":"3c3c645a823b1a3681c79a49e285569f27b6dd05","_nodeVersion":"25.9.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-X0S0brUvb2DvL2Tn11h/Qp1YcI7kRmCjjy5qY7vg1CdSYTEEKD6io82pP1qiAiqPHMpQpsC2ZCVONElT1lNYBg==","shasum":"0c766d4d05269a09ea9b1547c196be8499fbe810","tarball":"http://registry-npm.ywwl.com/nessy/download/nessy-6.0.1.tgz","fileCount":5,"unpackedSize":7296,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDB1S12mGGv/E0JWfzXqldK2XI5io+mufFTOka1zasTjQIhALZgZVN2qcsl289FrKZTDRaD6ARbhkHw+KQpTHILOilb"}],"size":3211,"noattachment":false,"key":"/nessy/-/nessy-6.0.1.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nessy_6.0.1_1776888200045_0.5659133479113017"},"_hasShrinkwrap":false,"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\nimport {nessy} from 'nessy';\n\nnessy('hello.world', 'why not?', '.', {\n    hello: {\n        world: 'could be used in browser as well',\n    },\n})(// returns\n{\n    hello: {\n        world: 'why not?',\n    },\n});\nnessy('hello*world', 'why not?', '*', {\n    hello: {\n        world: 'can be used any divider',\n    },\n});\n({\n    hello: {\n        world: 'why not?',\n    },\n});\n// even arrays supported\nnessy('hello.0', 'world', {});\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":1776888200272,"_cnpm_publish_time":1776888200272,"dist-tags":{"latest":"6.0.1"}}