{"_id":"dotty","_rev":"1373277","name":"dotty","description":"Access properties of nested objects using dot-path notation","dist-tags":{"latest":"0.1.2"},"maintainers":[{"name":"mhernandez","email":"michael.hernandez1988@gmail.com"},{"name":"stramel89","email":"m.stramel89@gmail.com"}],"time":{"modified":"2021-11-02T23:21:08.000Z","created":"2012-07-30T04:57:34.041Z","0.1.2":"2021-11-02T16:24:09.889Z","0.1.1":"2021-01-25T19:03:28.259Z","0.1.0":"2018-02-22T17:03:25.335Z","0.0.2":"2013-04-19T19:10:03.398Z","0.0.1":"2012-07-30T04:57:34.041Z"},"users":{"fgribreau":true,"allain":true,"kootoopas":true,"subinvarghesein":true},"author":{"name":"Conrad Pankoff","email":"deoxxa@fknsrs.biz","url":"http://www.fknsrs.biz/"},"repository":{"type":"git","url":"git://github.com/deoxxa/dotty.git"},"versions":{"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":{"shasum":"512d44cc4111a724931226259297f235e8484f6f","size":4184,"noattachment":false,"key":"/dotty/-/dotty-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotty/download/dotty-0.1.2.tgz"},"_npmUser":{"name":"stramel89","email":"m.stramel89@gmail.com"},"directories":{},"maintainers":[{"name":"mhernandez","email":"michael.hernandez1988@gmail.com"},{"name":"stramel89","email":"m.stramel89@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dotty_0.1.2_1635870249741_0.8457877622571432"},"_hasShrinkwrap":false,"publish_time":1635870249889,"_cnpm_publish_time":1635870249889},"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":{"shasum":"2871f6712749c014079b5837c7c8e8bf3aca1fea","size":3768,"noattachment":false,"key":"/dotty/-/dotty-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotty/download/dotty-0.1.1.tgz"},"_npmUser":{"name":"stramel89","email":"m.stramel89@gmail.com"},"directories":{},"maintainers":[{"name":"mhernandez","email":"michael.hernandez1988@gmail.com"},{"name":"stramel89","email":"m.stramel89@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dotty_0.1.1_1611601408083_0.40505288209783874"},"_hasShrinkwrap":false,"publish_time":1611601408259,"_cnpm_publish_time":1611601408259},"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":{"shasum":"da371ccd931a37282f8f7f77adada7d54539708a","size":337485,"noattachment":false,"key":"/dotty/-/dotty-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotty/download/dotty-0.1.0.tgz"},"maintainers":[{"name":"mhernandez","email":"michael.hernandez1988@gmail.com"},{"name":"stramel89","email":"m.stramel89@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dotty_0.1.0_1519319005119_0.4935668419128725"},"_hasShrinkwrap":false,"publish_time":1519319005335,"_cnpm_publish_time":1519319005335},"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"},"readmeFilename":"README.md","_id":"dotty@0.0.2","dist":{"shasum":"e1de8d46267b62fade12b5b58c21ca514c4a7aa1","size":266026,"noattachment":false,"key":"/dotty/-/dotty-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotty/download/dotty-0.0.2.tgz"},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"deoxxa","email":"deoxxa@fknsrs.biz"},"maintainers":[{"name":"mhernandez","email":"michael.hernandez1988@gmail.com"},{"name":"stramel89","email":"m.stramel89@gmail.com"}],"directories":{},"publish_time":1366398603398,"_cnpm_publish_time":1366398603398,"_hasShrinkwrap":false},"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","size":7277,"noattachment":false,"key":"/dotty/-/dotty-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dotty/download/dotty-0.0.1.tgz"},"maintainers":[{"name":"mhernandez","email":"michael.hernandez1988@gmail.com"},{"name":"stramel89","email":"m.stramel89@gmail.com"}],"directories":{},"publish_time":1343624254041,"_cnpm_publish_time":1343624254041,"_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","_attachments":{},"homepage":"https://github.com/deoxxa/dotty#readme","bugs":{"url":"https://github.com/deoxxa/dotty/issues"},"license":"BSD-3-Clause"}