{"_id":"deep-get-set","_rev":"14-6dcdbcd1ce60da9aa50f0c272846200d","name":"deep-get-set","description":"Set and get values on objects via dot-notation strings.","dist-tags":{"latest":"1.1.2"},"versions":{"0.1.0":{"name":"deep-get-set","description":"Set and get values on objects via dot-notation kind of strings.","version":"0.1.0","repository":{"type":"git","url":"git://github.com/acstll/deep-get-set.git"},"homepage":"https://github.com/juliangruber/deep-access","main":"index.js","scripts":{"test":"tape test.js"},"dependencies":{},"devDependencies":{"tape":"~1.0.4"},"keywords":["deep","object","access","property","utility","nested","string"],"author":{"name":"Arturo Castillo Delgado","email":"19@8302.net"},"license":"MIT","testling":{"files":"test.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"bugs":{"url":"https://github.com/acstll/deep-get-set/issues"},"_id":"deep-get-set@0.1.0","dist":{"shasum":"be3020695cfb2d96d71482ca7ab1d83703128ddf","tarball":"https://registry.npmjs.org/deep-get-set/-/deep-get-set-0.1.0.tgz","integrity":"sha512-K2AyhYtx0MlE6k5PDrzME6zbSIkeqbPtPvLX1wZ4ag4TTNtq0xl6iQdD0WTO6BrxFl1s4lbzloaQzII2f4YJAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTGYgZULJleyILBNh+60c2itOYhIEWY96kt7KCNoDKMQIgUAg+ZmvdjjUfs0TOx7rsJPmH/mKg7iArbiYBxbBz8V4="}]},"_from":".","_npmVersion":"1.3.10","_npmUser":{"name":"acstll","email":"19@8302.net"},"maintainers":[{"name":"acstll","email":"19@8302.net"}],"directories":{}},"0.1.1":{"name":"deep-get-set","description":"Set and get values on objects via dot-notation strings.","version":"0.1.1","repository":{"type":"git","url":"git://github.com/acstll/deep-get-set.git"},"homepage":"https://github.com/acstll/deep-get-set","main":"index.js","scripts":{"test":"tape test.js"},"dependencies":{},"devDependencies":{"tape":"~1.0.4"},"keywords":["deep","object","access","property","utility","nested","string"],"author":{"name":"Arturo Castillo Delgado","email":"19@8302.net"},"license":"MIT","testling":{"files":"test.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"bugs":{"url":"https://github.com/acstll/deep-get-set/issues"},"_id":"deep-get-set@0.1.1","dist":{"shasum":"65e4373991e3654683d8685540e27e01dedaa46b","tarball":"https://registry.npmjs.org/deep-get-set/-/deep-get-set-0.1.1.tgz","integrity":"sha512-TVROubdzPJV3i8T4E2+QMEKXHlunqKKnwETDlfaVO8db/AzDFlECuUDXkHCFIR90wEt0RNY0Hpc5ItUXckLG9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCO++GI485j0Ctwp6GMpQyFyxk2tUgcWJPgF/vqgwSVRgIhAPP7vZiUdszbLjKGAN7xx/6jCtg6M72edKl5Z+b+C418"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"acstll","email":"19@8302.net"},"maintainers":[{"name":"acstll","email":"19@8302.net"}],"directories":{}},"1.0.0":{"name":"deep-get-set","description":"Set and get values on objects via dot-notation strings.","version":"1.0.0","repository":{"type":"git","url":"git://github.com/acstll/deep-get-set.git"},"homepage":"https://github.com/acstll/deep-get-set","main":"index.js","scripts":{"test":"tape test.js"},"dependencies":{},"devDependencies":{"tape":"~1.0.4"},"keywords":["deep","object","access","property","utility","nested","string"],"author":{"name":"Arturo Castillo Delgado","email":"19@8302.net"},"license":"MIT","testling":{"files":"test.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"e0318eddb8dc5847a37ca739726ab69893863e2e","bugs":{"url":"https://github.com/acstll/deep-get-set/issues"},"_id":"deep-get-set@1.0.0","_shasum":"1a35edc24ce3ff658f61ce8eba49f9e34ef9bddd","_from":".","_npmVersion":"3.5.1","_nodeVersion":"4.2.3","_npmUser":{"name":"acstll","email":"arturo@arturu.com"},"maintainers":[{"name":"acstll","email":"19@8302.net"}],"dist":{"shasum":"1a35edc24ce3ff658f61ce8eba49f9e34ef9bddd","tarball":"https://registry.npmjs.org/deep-get-set/-/deep-get-set-1.0.0.tgz","integrity":"sha512-7CzTE/MTwHXPTvc0W1gTRpfcw/+2u62aY5cbfDoFbOrErVuLgkNe7cGRmTHtq4nT/uk8ESJrOwBMtjK8LxHxog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICjX4vxO4HAWJTp5YYnhp31FhaJFw/e/9UmUmDd0Ost6AiBGFm9hNd0EhjPfeWsIjqg0r3Oqn/29oGM6+Ehm0hdgUQ=="}]},"directories":{}},"1.1.0":{"name":"deep-get-set","description":"Set and get values on objects via dot-notation strings.","version":"1.1.0","repository":{"type":"git","url":"git://github.com/acstll/deep-get-set.git"},"homepage":"https://github.com/acstll/deep-get-set","main":"index.js","scripts":{"test":"tape test.js"},"dependencies":{},"devDependencies":{"tape":"~1.0.4"},"keywords":["deep","object","access","property","utility","nested","string"],"author":{"name":"Arturo Castillo Delgado","email":"19@8302.net"},"license":"MIT","testling":{"files":"test.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"7c04be87cb167012a21532b5a0889383fd825224","bugs":{"url":"https://github.com/acstll/deep-get-set/issues"},"_id":"deep-get-set@1.1.0","_shasum":"47bba2008a3fde9c753dcbe61a36241606d9836f","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"acstll","email":"arturo@arturu.com"},"dist":{"shasum":"47bba2008a3fde9c753dcbe61a36241606d9836f","tarball":"https://registry.npmjs.org/deep-get-set/-/deep-get-set-1.1.0.tgz","integrity":"sha512-8uWDqb4t/umc0VIIsi86F21UhDiB5CMaKy1y7Et/DAytEpVmXQWbZaw+khIzx4Dmwb5Fmz83QW6RfkCksNMgsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTd+sVWuTSeBr8fq5XmEw7vtA+gbqPwepEOljPA1PhDwIhAMndaC22kbVybMydvOOjzh2doiJlgxM0Ne4Ov3xuW3L4"}]},"maintainers":[{"name":"acstll","email":"19@8302.net"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/deep-get-set-1.1.0.tgz_1481230687248_0.28237996413372457"},"directories":{}},"1.1.1":{"name":"deep-get-set","description":"Set and get values on objects via dot-notation strings.","version":"1.1.1","repository":{"type":"git","url":"git://github.com/acstll/deep-get-set.git"},"homepage":"https://github.com/acstll/deep-get-set","main":"index.js","scripts":{"test":"tape test.js"},"dependencies":{},"devDependencies":{"tape":"~1.0.4"},"keywords":["deep","object","access","property","utility","nested","string"],"author":{"name":"Arturo Castillo Delgado","email":"19@8302.net"},"license":"MIT","testling":{"files":"test.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"5a6d8b4792e60b6278d0d0498fe6b89e07ef7daf","bugs":{"url":"https://github.com/acstll/deep-get-set/issues"},"_id":"deep-get-set@1.1.1","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-dBrY4GeR55KfyF9Ipswif/Et4muInKpXkf3ro9hFT/8OdPMVsEGNSfuGzfBv/dJKKwKSqInoZGKV5f40bA7TJA==","shasum":"caa720cbeaa4def5a924a63362be3f3d4bdb04b0","tarball":"https://registry.npmjs.org/deep-get-set/-/deep-get-set-1.1.1.tgz","fileCount":4,"unpackedSize":6786,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnqQJCRA9TVsSAnZWagAAuH0P/24YWIciF+/bwwLBXQVq\ns4oZ2Qh4hTIWbia5C8jpsh3ppGuDj/Vk1bydoJnlXY1ilasoO53/ZmF88+fm\nDnyM/oZdS4ic3TtBBWP9kaMKDQETceP2IAS4g39KOAbm2F59ELOFsu38lOCs\neLVSqjkGoFcw4IrB0Wys2+1mKTTEfv8onWZ+hAW7JnLwClFhiSxi3hDgLaL1\nAyqMJ6xceZUAJ+9vs0vVru6gTUeM16f0zGqfvS089tOLXDlwT0p4gIfYs7WQ\n+a5GNS1j0YZ49ypIQQXNN1asQ8oHcQkB1y3VDyHfE4xGNqLjWu3kB7pU9OLo\nh4SH6+VsT9KnOK3RV0Fbha9rGreAhkNVWeGn8+bQeCiGSUR2ObZBO7EmP67V\nBkawf6h0ODtX4GtXdGOi7gnTwfOo5gBdf520fb9afIXQldCE8t+HEAvjo0mp\nnOjyJe3xgVeavpDbhUg6YHxCfhHWkx7+UjHEm8vJr+4UAyJyvrySPd7rrQKj\nSJZ9xUs7OGPStvfyKJddY2lGCVDL7QovT9JRUrTXgII5z3XDitUpXjApp0Sd\nS5KQuTg6W5wUBjcH1ljgO4PGjTX1tUCTTsg2IE3ZzicHB6lvtyXA+t1XIzL4\nkkjQEOEJ0aZBVAD1tyIRtQsDLgHsEzHQ0by6carxDGfzRIKmPYP1a02A66hk\n6lcu\r\n=iwi2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBVdqKieOj5SOuH+e450XHCH9euOuG9hcKVAOOo3wViwAiEApa6kZdbTiniDv12QKy90V2QZqTps5Rglwk+KLkE40f0="}]},"maintainers":[{"name":"acstll","email":"arturo@arturu.com"}],"_npmUser":{"name":"acstll","email":"arturo@arturu.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/deep-get-set_1.1.1_1604232200680_0.24708718325359214"},"_hasShrinkwrap":false},"1.1.2":{"name":"deep-get-set","description":"Set and get values on objects via dot-notation strings.","version":"1.1.2","type":"module","exports":{"import":"./index.js","require":"./index.cjs"},"repository":{"type":"git","url":"git://github.com/acstll/deep-get-set.git"},"homepage":"https://github.com/acstll/deep-get-set","main":"index.js","scripts":{"test":"npm run test:esm && npm run test:cjs","test:esm":"tape test.js","test:cjs":"tape test.cjs"},"devDependencies":{"tape":"^5.7.2"},"keywords":["deep","object","access","property","utility","nested","string"],"author":{"name":"Arturo Castillo Delgado","email":"arturo@arturu.com"},"license":"MIT","_id":"deep-get-set@1.1.2","gitHead":"967f374ee88c15f81f0f8b8b99e70ac90eea3e7e","bugs":{"url":"https://github.com/acstll/deep-get-set/issues"},"_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-rADDJfKhKxeL66gGHvZTevXvnFcTJL0dzN+bCSIBUhOtyt8tYN3I0cNabsNu0AEhtpGzPxyAgXafhKNzrVEkig==","shasum":"cbcddc7011a84133cde74f936a53fb2e6d1f9b4a","tarball":"https://registry.npmjs.org/deep-get-set/-/deep-get-set-1.1.2.tgz","fileCount":6,"unpackedSize":7626,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFqvH4mqfHUToJb72wYjE9ygWnQVdEZMjVL2K0NKHc+8AiBQ0cfnmgMkYgM4j1a6AbqQ9I9G1L5X93nztntv3qrbPA=="}]},"_npmUser":{"name":"acstll","email":"arturo@arturu.com"},"directories":{},"maintainers":[{"name":"acstll","email":"arturo@arturu.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/deep-get-set_1.1.2_1698322949437_0.5134263695391641"},"_hasShrinkwrap":false}},"readme":"# deep-get-set\n\nSet and get values on objects via dot-notation strings.\n\n## Example\n\n```js\nvar deep = require('deep-get-set');\n\nvar obj = {\n  foo: {\n    bar: 'baz',\n    'bar.baz': 'qux'\n  }\n};\n\n// Get\nconsole.log(deep(obj, 'foo.bar'));\n  // => \"baz\"\n\n// Get with array\nconsole.log(deep(obj, ['foo', 'bar.baz']));\n  // => \"qux\"\n\n// Set\ndeep(obj, 'foo.bar', 'hello');\nconsole.log(obj.foo.bar);\n  // => \"hello\"\n\n// Set with array\ndeep(obj, ['foo', 'bar.baz'], 'goodbye');\nconsole.log(obj.foo['bar.baz']);\n  // => \"goodbye\"\n```\n\n## API\n\n### deep(object, path[, value])\n\nWhere `path` is a dot-notation string `foo.bar` or an array of strings.\n\n- If `value` is passed it will be set on the path.\n- Set `deep.p = true` if you want non-existent paths to be initialized.\n- If you want to unset (or delete), pass `undefined` as the `value`.\n\n## Installation\n\nWith [npm](https://npmjs.org) do:\n\n```bash\nnpm install deep-get-set\n```\n\n## Note\n\nThere's a dozen modules like this on [npm](https://npmjs.org).\nThis is a fork from [@juliangruber's](https://github.com/juliangruber) [deep-access](https://github.com/juliangruber/deep-access) module, with a big portion of code directly copied from here: https://github.com/substack/js-traverse/blob/master/index.js#L11-L18.\n\nSimilar modules:\n\n- https://github.com/deoxxa/dotty (this one I like because it uses recursion)\n- https://github.com/Ntran013/dot-access (pretty much the same as this)\n- https://github.com/substack/js-traverse (much more complex and useful)\n\n## License\n\nMIT\n","maintainers":[{"name":"acstll","email":"arturo@arturu.com"}],"time":{"modified":"2023-10-26T12:22:29.870Z","created":"2013-09-25T17:02:07.074Z","0.1.0":"2013-09-25T17:02:10.829Z","0.1.1":"2013-10-08T07:37:58.463Z","1.0.0":"2015-12-21T12:52:56.685Z","1.1.0":"2016-12-08T20:58:07.825Z","1.1.1":"2020-11-01T12:03:20.838Z","1.1.2":"2023-10-26T12:22:29.693Z"},"author":{"name":"Arturo Castillo Delgado","email":"arturo@arturu.com"},"repository":{"type":"git","url":"git://github.com/acstll/deep-get-set.git"},"homepage":"https://github.com/acstll/deep-get-set","keywords":["deep","object","access","property","utility","nested","string"],"bugs":{"url":"https://github.com/acstll/deep-get-set/issues"},"license":"MIT","readmeFilename":"README.md"}