{"_id":"dotty","_rev":"28-727aad2a14a4eda36c0a12fb5c1fdac1","name":"dotty","description":"Access properties of nested objects using dot-path notation","dist-tags":{"latest":"0.1.2"},"versions":{"0.0.1":{"name":"dotty","version":"0.0.1","description":"Access properties of nested objects using dot-path notation","main":"lib/index.js","scripts":{"test":"vows","prepublish":"docco lib/*"},"repository":{"type":"git","url":"git://github.com/deoxxa/dotty.git"},"keywords":["object","access","dot","path","mongodb"],"author":{"name":"Conrad Pankoff","email":"deoxxa@fknsrs.biz","url":"http://www.fknsrs.biz/"},"license":"BSD","devDependencies":{"vows":"~0.6.3","docco":"~0.3.0"},"_id":"dotty@0.0.1","dist":{"shasum":"cbe6d45c52abd92c4224c079206e2581d14d038a","tarball":"https://registry.npmjs.org/dotty/-/dotty-0.0.1.tgz","integrity":"sha512-eDT0hfJEnQbGaZcTuCfj2igPkQ7qa/n9K2pGGDxhEqKhARLq+xE1TonvpOPHq+7KeG+D6A/V8BwCcsdPom2TQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAkP2QJ+2w/NtmGGV8JWJnD6daQZoQoa96IcXgUN17DDAiBanXzhYnBxLvA+6T46jZ+CuWvTNzTSOFofk11JQSWUKA=="}]},"maintainers":[{"name":"deoxxa","email":"deoxxa@fknsrs.biz"}],"directories":{}},"0.0.2":{"name":"dotty","version":"0.0.2","description":"Access properties of nested objects using dot-path notation","main":"lib/index.js","scripts":{"test":"vows","prepublish":"docco lib/*"},"repository":{"type":"git","url":"git://github.com/deoxxa/dotty.git"},"keywords":["object","access","dot","path","mongodb"],"author":{"name":"Conrad Pankoff","email":"deoxxa@fknsrs.biz","url":"http://www.fknsrs.biz/"},"license":"BSD","devDependencies":{"vows":"~0.7.0","docco":"~0.6.2"},"_id":"dotty@0.0.2","dist":{"shasum":"e1de8d46267b62fade12b5b58c21ca514c4a7aa1","tarball":"https://registry.npmjs.org/dotty/-/dotty-0.0.2.tgz","integrity":"sha512-FyXolk/kSOpWRJO4iXXFfiihyJ5OQsOdxa/4Sj4cd9Bhla6xN8ak7ErY16aI3kPMWyXCzkZE2GTXHTY88oKK1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8mr95COAYdFTafxf4kDgkRkMv/GEvqhaI90axP4QphAiEAgdX4tyV7xoP3EOZHiH6zcP8XUQqf1DUcgNgXj8kQnaU="}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"deoxxa","email":"deoxxa@fknsrs.biz"},"maintainers":[{"name":"deoxxa","email":"deoxxa@fknsrs.biz"}],"directories":{}},"0.1.0":{"name":"dotty","version":"0.1.0","description":"Access properties of nested objects using dot-path notation","main":"lib/index.js","scripts":{"test":"vows","prepare":"docco \"./lib/index.js\""},"repository":{"type":"git","url":"git://github.com/deoxxa/dotty.git"},"keywords":["object","access","dot","path","mongodb"],"author":{"name":"Conrad Pankoff","email":"deoxxa@fknsrs.biz","url":"http://www.fknsrs.biz/"},"license":"BSD-3-Clause","devDependencies":{"vows":"^0.8.0","docco":"^0.8.0"},"gitHead":"5f436ffe395f142b7301d6ab77d22a2f66ef3bb0","bugs":{"url":"https://github.com/deoxxa/dotty/issues"},"homepage":"https://github.com/deoxxa/dotty#readme","_id":"dotty@0.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"stramel","email":"m.stramel89@gmail.com"},"dist":{"integrity":"sha512-VJzcXJZEckXowvj6yGJC2JH66DLEEm1d1QOB0hik1EvlbUpULvcYt411JeFuy8rNC96FG8V2N7pMkyjvK8LYwQ==","shasum":"da371ccd931a37282f8f7f77adada7d54539708a","tarball":"https://registry.npmjs.org/dotty/-/dotty-0.1.0.tgz","fileCount":28,"unpackedSize":502840,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICpqLb2XaLwqcAjzwPcV4uGsvT0x0lWb7kG5DiLyiU+zAiAcf0KgGaemmv1GXKb5R1zEUPi1REzdKFd+WYMULxTNAQ=="}]},"maintainers":[{"email":"deoxxa@fknsrs.biz","name":"deoxxa"},{"email":"michael.hernandez1988@gmail.com","name":"mhernandez"},{"email":"m.stramel89@gmail.com","name":"stramel"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dotty_0.1.0_1519319005119_0.4935668419128725"},"_hasShrinkwrap":false},"0.1.1":{"name":"dotty","version":"0.1.1","description":"Access properties of nested objects using dot-path notation","main":"lib/index.js","scripts":{"test":"vows","prepare":"docco \"./lib/index.js\""},"repository":{"type":"git","url":"git://github.com/deoxxa/dotty.git"},"keywords":["object","access","dot","path","mongodb"],"author":{"name":"Conrad Pankoff","email":"deoxxa@fknsrs.biz","url":"http://www.fknsrs.biz/"},"license":"BSD-3-Clause","devDependencies":{"vows":"^0.8.0","docco":"^0.8.0"},"gitHead":"2f3e7eb3a5aeb13f0e0a459f66769fa3fa1c276f","bugs":{"url":"https://github.com/deoxxa/dotty/issues"},"homepage":"https://github.com/deoxxa/dotty#readme","_id":"dotty@0.1.1","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-t6qr6vUPhYwE6t5+5vtk/1UQiAMzmgSUWxXK+oxPIhGy1w3cO15zbdSe9VMH/MMd0tqQuYiewoOG/BfwwU3QLA==","shasum":"2871f6712749c014079b5837c7c8e8bf3aca1fea","tarball":"https://registry.npmjs.org/dotty/-/dotty-0.1.1.tgz","fileCount":4,"unpackedSize":10749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgDxYACRA9TVsSAnZWagAAHGoP+QFXevHq3hQhIRbWxnIH\nBZlDbA+a6XbA8ZWP6okpsYLHIvUr4nIHOGAt5UsfpkfXaNxmNZV/y4zLXnCD\n8ZQoSyDNubGilqanpb6iu2RMiV6JturUbcsrsytxX6F5Q0TtFP6VKg4EVeix\nJQQzzs5zyTXn3pxT2seE/ZapqO6Aw0j2QC8/Xp/LM0rvhJsLhyJmS5wlLHpc\nM0KzgTp2dh64rr0fAsf05cCx/0D9MPH4v0rsGtN4/VQokp3zFrjQoPbiFU66\nOZ1u2OhUetUaU0D442W/97w9ijIM5fzPTmBDq7oMAD5Dgf7VMR3X6i/gsyLw\nqQ4llFvEyKrN65oIcvmn4H9IttkLO2ainzzE88UCzKz73qlEV4EzEo9HdwSH\noNd32DYC2xx5GjXpxWTQSnwnBMYNRqqQfmD2XCpB1ECJsNArz8Vlv+LIfuHh\n7byOcInMQZuo4CwGICK0FPrbq3DS0PIFNg8skYI+0R5m/GrAqEemBRytqyY8\nVM6tixOPBC+Yv3XVP4OSy+71EfxXq08atwL0F+Irbb/cbMEVo9pIcnhKoCIv\ng3g3E7+lzOGf20PvktB6HRokKSJNaeyBFjrVB+BvayXaO22qbolZRHPBgoeP\no97ZoUdAdg8jKXZPbt9LlNuH55oRhDcCBdIyxEa2tBTK58GryPHu4IdYQ68+\njVwq\r\n=1K8i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBjZbhUalrytXrbU59+xvx+NNuCi0/VRQ5QrgZh+3xtbAiAD+lbc4Czz7r36vwIhUNAKBGO/9AyJuNPCuBu+m+rlPA=="}]},"_npmUser":{"name":"stramel89","email":"m.stramel89@gmail.com"},"directories":{},"maintainers":[{"name":"stramel89","email":"m.stramel89@gmail.com"},{"name":"mhernandez","email":"michael.hernandez1988@gmail.com"},{"name":"deoxxa","email":"deoxxa@fknsrs.biz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dotty_0.1.1_1611601408083_0.40505288209783874"},"_hasShrinkwrap":false},"0.1.2":{"name":"dotty","version":"0.1.2","description":"Access properties of nested objects using dot-path notation","main":"lib/index.js","scripts":{"test":"vows","prepare":"docco \"./lib/index.js\""},"repository":{"type":"git","url":"git://github.com/deoxxa/dotty.git"},"keywords":["object","access","dot","path","mongodb"],"author":{"name":"Conrad Pankoff","email":"deoxxa@fknsrs.biz","url":"http://www.fknsrs.biz/"},"license":"BSD-3-Clause","devDependencies":{"vows":"^0.8.3","docco":"^0.8.1"},"gitHead":"9c726cd31383ecedf9b479c36a7dd3fc0c7eb89f","bugs":{"url":"https://github.com/deoxxa/dotty/issues"},"homepage":"https://github.com/deoxxa/dotty#readme","_id":"dotty@0.1.2","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-V0EWmKeH3DEhMwAZ+8ZB2Ao4OK6p++Z0hsDtZq3N0+0ZMVqkzrcEGROvOnZpLnvBg5PTNG23JEDLAm64gPaotQ==","shasum":"512d44cc4111a724931226259297f235e8484f6f","tarball":"https://registry.npmjs.org/dotty/-/dotty-0.1.2.tgz","fileCount":5,"unpackedSize":11527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2ol9CRA9TVsSAnZWagAAQOcP/R070O9SSd0wo70yfz/N\nYDHwPHDtRC99UbjVooYJED/VL6CKVW0hyQcqHS48JCFMhso3cLP8Myzfo/qd\nUJFD7jfZlC1DsSSuJA9mR8UwC8QHGbeIOf9i6FiwmVIO3Y7sNb37crQAjVWK\nBr05Y+VYg6WLwi/rMGEQolulsaqtXtWdSDalCd+00/GNbDjkfyFKldu8eEN0\nJ0It0flGfq463LqhWYaibedYBJqzVnmgO/ko37UYSrYMLZd4RBGy/SL37eEe\nlKhr2xr9cMYeHsAv9dKb1zCW0lRl0Fbwv2EU9jYl/4UOW4fmKX9e/i2TSo4O\nhBnSDhLVU9wC60Ui2xq9lKBP2nSqIVV5rpWzRZjdrOeLLccyF7wCFvguZGo+\nk+nUcJ6UcKvqOOIboEClx3VGvuYxSd7e3XS9307RsiZFumGWnQMbrEWsN1ne\nMgTJSMJKucj/7RrleAN6gRvHA2I/KkS747Pbskq/72czuxsMJQdmHmJ0t4Ff\n8+DtVAHFkBsMF75OFffgmS0qLu4sNFIOZqYqzjLip16wFZ5tzbv9BYLTkRf1\n0CZfPFZFrGLfrw1pV4Cr3HSiNwqM2dq3iPqjvjDaymhOE437up9DpZp4WEq5\ni9mVrqro2groltuKzgeqdscEdQImIyRfaIwbH7qjJCQLq+CRtykUWVhNZMEZ\nPpm3\r\n=YN/o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvlLWHGDtwZf51vWbXITKrpMWExRy9W26GjJsDKGsKKQIhAMo4SA0zZeCEBVkb4nJ1UmE0tIPeSxuNdGMjkX/sg4e1"}]},"_npmUser":{"name":"stramel89","email":"m.stramel89@gmail.com"},"directories":{},"maintainers":[{"name":"stramel89","email":"m.stramel89@gmail.com"},{"name":"mhernandez","email":"michael.hernandez1988@gmail.com"},{"name":"deoxxa","email":"deoxxa@fknsrs.biz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dotty_0.1.2_1635870249741_0.8457877622571432"},"_hasShrinkwrap":false}},"readme":"# Dotty ![Build and Test](https://github.com/deoxxa/dotty/workflows/Build%20and%20Test/badge.svg) [![npm](https://img.shields.io/npm/v/dotty.svg)](https://www.npmjs.com/package/dotty)\n\nAccess properties of nested objects using dot-path notation.\n\n## Overview\n\nDotty makes it easy to programmatically access arbitrarily nested objects and\ntheir properties.\n\n## Installation\n\nHere's a link to the [npm](https://npmjs.org/package/dotty) page.\n\n    npm install dotty\n\n## Usage\n\nAlso see the [documentation](http://deoxxa.github.com/dotty/docs/) and\n[example](example.js).\n\n```javascript\nvar dotty = require(\"dotty\");\n\nvar object = {\n  a: {\n    b: {\n      x: \"y\",\n    },\n    c: {\n      x: \"z\",\n    },\n  },\n};\n\nconsole.log(dotty.exists(object, \"a.b.x\")); // true\nconsole.log(dotty.exists(object, [\"a\", \"b\", \"x\"])); // true\nconsole.log(dotty.exists(object, \"a.b.z\")); // false\nconsole.log(dotty.exists(object, [\"a\", \"b\", \"z\"])); // false\n\nconsole.log(dotty.get(object, \"a.b.x\")); // \"y\"\nconsole.log(dotty.get(object, [\"a\", \"b\", \"x\"])); // \"y\"\nconsole.log(dotty.get(object, \"a.b.z\")); // undefined\nconsole.log(dotty.get(object, [\"a\", \"b\", \"z\"])); // undefined\n\ndotty.put(object, \"a.b.hello\", \"hi\");\ndotty.put(object, [\"a\", \"c\", \"yo\"], \"sup\");\n\nconsole.log(dotty.search(object, \"a.b.*\"));\nconsole.log(dotty.search(object, [\"a\", \"b\", \"*\"]));\nconsole.log(dotty.search(object, \"a.*.x\"));\nconsole.log(dotty.search(object, [\"a\", \"*\", \"x\"]));\nconsole.log(dotty.search(object, [\"a\", \"*\", /..+/]));\nconsole.log(\n  dotty.search(object, \"a.b.*\", function (value, parent, key) {\n    parent[key] = value + \"!\";\n  })\n);\n\nconsole.log(dotty.remove(object, \"a.b.x\"));\nconsole.log(dotty.remove(object, \"a.b.y\"));\n\nconsole.log(dotty.removeSearch(object, \"a.*.x\"));\n\nconsole.log(dotty.deepKeys(object));\nconsole.log(dotty.deepKeys(object, { leavesOnly: true }));\nconsole.log(dotty.deepKeys(object, { leavesOnly: true, asStrings: true }));\n\nconsole.log(object);\n```\n\n## License\n\n3-clause BSD. A copy is included with the source.\n\n## Contact\n\n- GitHub ([http://github.com/deoxxa](deoxxa))\n- Twitter ([http://twitter.com/deoxxa](@deoxxa))\n- Email ([mailto:deoxxa@fknsrs.biz](deoxxa@fknsrs.biz))\n","maintainers":[{"name":"stramel89","email":"m.stramel89@gmail.com"},{"name":"mhernandez","email":"michael.hernandez1988@gmail.com"},{"name":"deoxxa","email":"deoxxa@fknsrs.biz"}],"time":{"modified":"2022-06-15T22:44:17.936Z","created":"2012-07-30T04:57:30.502Z","0.0.1":"2012-07-30T04:57:34.041Z","0.0.2":"2013-04-19T19:10:03.398Z","0.0.3":"2018-02-22T07:48:24.873Z","0.1.0":"2018-02-22T17:03:25.335Z","0.1.1":"2021-01-25T19:03:28.259Z","0.1.2":"2021-11-02T16:24:09.889Z"},"author":{"name":"Conrad Pankoff","email":"deoxxa@fknsrs.biz","url":"http://www.fknsrs.biz/"},"repository":{"type":"git","url":"git://github.com/deoxxa/dotty.git"},"users":{"fgribreau":true,"allain":true,"kootoopas":true,"subinvarghesein":true},"keywords":["object","access","dot","path","mongodb"],"license":"BSD-3-Clause","readmeFilename":"README.md","homepage":"https://github.com/deoxxa/dotty#readme","bugs":{"url":"https://github.com/deoxxa/dotty/issues"}}