{"_id":"deep-keys","_rev":"8-11f9d48b88c5d7c05fde031c68c39bcc","name":"deep-keys","description":"Creates an array composed of the own enumerable property names(including nested) of an object.","dist-tags":{"latest":"0.5.0"},"versions":{"0.1.0":{"name":"deep-keys","version":"0.1.0","description":"Creates an array composed of the own enumerable property names(including nested) of an object.","license":"MIT","repository":{"type":"git","url":"https://github.com/a8m/deep-keys"},"author":{"name":"Ariel Mashraki","email":"ariel@mashraki.co.il","url":"https://github.com/a8m/deep-keys"},"engines":{"node":">=0.10.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha --harmony-generators test.js -u bdd -R spec"},"files":["index.js"],"keywords":["map","obj","object","key","keys","deep-keys","nested-keys"],"devDependencies":{"mocha":"*"},"gitHead":"06d802be132b2e0e80940e3cc1d456bde0d2bbad","bugs":{"url":"https://github.com/a8m/deep-keys/issues"},"homepage":"https://github.com/a8m/deep-keys","_id":"deep-keys@0.1.0","_shasum":"6565e1a5906a03c1d94bb1c8f13bc58cb86b4158","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.21","_npmUser":{"name":"a8m","email":"ariel@mashraki.co.il"},"maintainers":[{"name":"a8m","email":"ariel@mashraki.co.il"}],"dist":{"shasum":"6565e1a5906a03c1d94bb1c8f13bc58cb86b4158","tarball":"https://registry.npmjs.org/deep-keys/-/deep-keys-0.1.0.tgz","integrity":"sha512-MZfx1NO+plWpg5c/Tp0POFKuo5u1j+fHTzsW7etulKbMJaXWNHVI6kthtSiuiHDM+FplGlzyopxklWRh4R5BYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDDS0XPFa44/U8FXJ1spCDO+3iut2NVhReSO/o6xMlrjAiEA+U1RrOTDR2cwPoUwPCpCrlldPLBBTparWJf+zSKNWBU="}]}},"0.2.0":{"name":"deep-keys","version":"0.2.0","description":"Creates an array composed of the own enumerable property names(including nested) of an object.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/a8m/deep-keys.git"},"author":{"name":"Ariel Mashraki","email":"ariel@mashraki.co.il","url":"https://github.com/a8m/deep-keys"},"engines":{"node":">=0.10.0"},"scripts":{"test":"istanbul cover ./node_modules/mocha/bin/_mocha -- -u exports test.js"},"files":["index.js"],"keywords":["map","obj","object","key","keys","deep-keys","nested-keys"],"devDependencies":{"istanbul":"^0.3.2","mocha":"*"},"gitHead":"a8176cccb8f59b8d23a5c0589dd2650b7402add3","bugs":{"url":"https://github.com/a8m/deep-keys/issues"},"homepage":"https://github.com/a8m/deep-keys#readme","_id":"deep-keys@0.2.0","_shasum":"42074f0cb6a8b128669f033d3e16c0d6a806c763","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"a8m","email":"ariel@mashraki.co.il"},"maintainers":[{"name":"a8m","email":"ariel@mashraki.co.il"}],"dist":{"shasum":"42074f0cb6a8b128669f033d3e16c0d6a806c763","tarball":"https://registry.npmjs.org/deep-keys/-/deep-keys-0.2.0.tgz","integrity":"sha512-pLRDyeyhvT6IBya8MsxvK1HO++tZnvMjIsFNisqbPYI0cX9J0/uubKbjdNZWqYJbJ1UlXctUvK3V0iyTcVMjCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGgNrhbxC2HRDWN6ptikANe+XOKH9yhpMS616fiao0cTAiBaCF5fA97sQKgq8R0pZ4Hfk+fRv/1sYafVhSWQE5MbCQ=="}]}},"0.3.0":{"name":"deep-keys","version":"0.3.0","description":"Creates an array composed of the own enumerable property names(including nested) of an object.","license":"MIT","repository":{"type":"git","url":"https://github.com/a8m/deep-keys"},"author":{"name":"Ariel Mashraki","email":"ariel@mashraki.co.il","url":"https://github.com/a8m/deep-keys"},"engines":{"node":">=0.10.0"},"scripts":{"test":"istanbul cover ./node_modules/mocha/bin/_mocha -- -u exports test.js"},"files":["index.js"],"keywords":["map","obj","object","key","keys","deep-keys","nested-keys"],"devDependencies":{"istanbul":"^0.3.2","mocha":"*"},"gitHead":"86a4f4dc5c972b3744f4ccf005465280dcecd1fb","bugs":{"url":"https://github.com/a8m/deep-keys/issues"},"homepage":"https://github.com/a8m/deep-keys","_id":"deep-keys@0.3.0","_shasum":"a0522a7c38aed750eec79e077bc52581bbb0fc55","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"a8m","email":"ariel@mashraki.co.il"},"maintainers":[{"name":"a8m","email":"ariel@mashraki.co.il"}],"dist":{"shasum":"a0522a7c38aed750eec79e077bc52581bbb0fc55","tarball":"https://registry.npmjs.org/deep-keys/-/deep-keys-0.3.0.tgz","integrity":"sha512-BdbM4lz6NOJvD+WAqy6m7jY8MNiw3YnoGZpKlVgmmIhc/dTnp+70JOTEEHddB/1H/lWGndnjeZJdPGnlGJx+fg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4fvVzwKPP0os9UeaU7t7GeJm+exGGBAVyPzUzIHEsHAIgDt1Bzaw+pe8t6YHlf3j7yNVzRP9NQ6nghBVR8numnkU="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/deep-keys-0.3.0.tgz_1462886266770_0.6319808731786907"}},"0.4.0":{"name":"deep-keys","version":"0.4.0","description":"Creates an array composed of the own enumerable property names(including nested) of an object.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/a8m/deep-keys.git"},"author":{"name":"Ariel Mashraki","email":"ariel@mashraki.co.il","url":"https://github.com/a8m/deep-keys"},"engines":{"node":">=0.10.0"},"scripts":{"test":"istanbul cover ./node_modules/mocha/bin/_mocha -- -u exports test.js"},"files":["index.js"],"keywords":["map","obj","object","key","keys","deep-keys","nested-keys"],"devDependencies":{"istanbul":"^0.3.2","mocha":"*"},"gitHead":"10a8c6fe85f33dffba429f451985f5ff8a73cb6a","bugs":{"url":"https://github.com/a8m/deep-keys/issues"},"homepage":"https://github.com/a8m/deep-keys#readme","_id":"deep-keys@0.4.0","_shasum":"0229870bdf1457b054cbf55484e92f8af59cbeab","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"a8m","email":"ariel@mashraki.co.il"},"dist":{"shasum":"0229870bdf1457b054cbf55484e92f8af59cbeab","tarball":"https://registry.npmjs.org/deep-keys/-/deep-keys-0.4.0.tgz","integrity":"sha512-rZL9YWyM1/5PHWbVwAMdv73FM2r94Ns/IimrdIAGOxAUrja2UKwrNRSCcJOZT+JZMtl7GWSlT3ZPUYgLxXbLLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBD+WxeIjStBdCf5EBJ8i329LayBcfXyT0QXW7YA25w9AiBil1vKgxmlNwfcbfvdp6vnJe+GDNmecXEQWGHTKM7Gnw=="}]},"maintainers":[{"name":"a8m","email":"ariel@mashraki.co.il"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/deep-keys-0.4.0.tgz_1483693833213_0.7252520555630326"}},"0.5.0":{"name":"deep-keys","version":"0.5.0","description":"Creates an array composed of the own enumerable property names(including nested) of an object.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/a8m/deep-keys.git"},"author":{"name":"Ariel Mashraki","email":"ariel@mashraki.co.il","url":"https://github.com/a8m/deep-keys"},"engines":{"node":">=0.10.0"},"scripts":{"test":"istanbul cover ./node_modules/mocha/bin/_mocha -- -u exports test.js"},"files":["index.js"],"keywords":["map","obj","object","key","keys","deep-keys","nested-keys"],"devDependencies":{"istanbul":"^0.3.2","mocha":"^3.5.3"},"gitHead":"7be6858cf1337d9e68b8a347e1a2c8b3a62be84c","bugs":{"url":"https://github.com/a8m/deep-keys/issues"},"homepage":"https://github.com/a8m/deep-keys#readme","_id":"deep-keys@0.5.0","_shasum":"2e619990c585993c7d522cb85b2f69ac6756448e","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"a8m","email":"ariel@mashraki.co.il"},"dist":{"shasum":"2e619990c585993c7d522cb85b2f69ac6756448e","tarball":"https://registry.npmjs.org/deep-keys/-/deep-keys-0.5.0.tgz","integrity":"sha512-/80a4+9lbLj1hRxG0ULtEOGtbM4hN/5u1Vu6kc6ZkYePUq+ZhtboRIsWTVKplc2ET1xY2FMVwhyt46w9vPf9Rg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkP2CbBz396TlSaJodr8DizxRIwD0HR9HBk8cZ3A5SNQIhAJTm6XB97e4MgROSFfREBYLbOqYfvYGC1Upx5SdrchrO"}]},"maintainers":[{"name":"a8m","email":"ariel@mashraki.co.il"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/deep-keys-0.5.0.tgz_1512412500400_0.49845746951177716"}}},"readme":"# deep-keys \n[![NPM version][npm-image]][npm-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![Dependency Status][david-image]][david-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n> Creates an array composed of the own enumerable property names(including nested) of an object.\n\n**Note:** This kit works great with [obj-parse](https://github.com/a8m/obj-parse) _(get and set object properties in a fast and elegant way)._\n\n## Install\n\n```sh\n$ npm install --save deep-keys\n```\n\n## Usage\n##### `deepKeys(obj, intermediate[optional])`\n```js\nvar deepKeys = require('deep-keys');\n\nvar obj1 = {\n  a: 1,\n  b: { c: 1 },\n  c: { d: { e: 1 }, f: 1 },\n  d: { e: { f: { g: 1, h: 2 } } },\n  e: 2,\n  f: { g: [] }\n};\ndeepKeys(obj1);\n//=> ['a', 'b.c', 'c.d.e', 'c.f', 'd.e.f.g', 'd.e.f.h', 'e', 'f.g']\n\nvar obj2 = {\n  type: 'customer',\n  details: {\n    name: 'Ariel', age: 26, address: { city: 'Tel Aviv', country: 'Israel' }\n  },\n  isActive: true\n};\ndeepKeys(obj2);\n//=> ['type', 'details.name', 'details.age', 'details.address.city', 'details.address.country', 'isActive']\n\n// intermediate example\nvar obj3 = {a:{b:{c:1}}};\ndeepKeys(obj3);       //=> [ 'a.b.c' ]\ndeepKeys(obj3, true); //=> [ 'a', 'a.b', 'a.b.c' ]\n\n// Dots in key names get escaped\nvar obj4 = { 'a.': { b: 1} };\ndeepKeys(obj4) //=> [ 'a\\\\..b' ]\n```\n\n\n## License\n\nMIT © [Ariel Mashraki](https://github.com/a8m)\n\n[npm-image]: https://img.shields.io/npm/v/deep-keys.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/deep-keys\n[travis-image]: https://img.shields.io/travis/a8m/deep-keys.svg?style=flat-square\n[travis-url]: https://travis-ci.org/a8m/deep-keys\n[coveralls-image]: https://img.shields.io/coveralls/a8m/deep-keys.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/a8m/deep-keys\n[david-image]: http://img.shields.io/david/a8m/deep-keys.svg?style=flat-square\n[david-url]: https://david-dm.org/a8m/deep-keys\n[license-image]: http://img.shields.io/npm/l/deep-keys.svg?style=flat-square\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/deep-keys.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/deep-keys\n\n","maintainers":[{"name":"a8m","email":"ariel@mashraki.co.il"}],"time":{"modified":"2022-06-14T22:55:48.726Z","created":"2014-10-13T09:26:53.193Z","0.1.0":"2014-10-13T09:26:53.193Z","0.2.0":"2016-01-21T17:20:28.271Z","0.3.0":"2016-05-10T13:17:49.293Z","0.4.0":"2017-01-06T09:10:33.974Z","0.5.0":"2017-12-04T18:35:01.313Z"},"homepage":"https://github.com/a8m/deep-keys#readme","keywords":["map","obj","object","key","keys","deep-keys","nested-keys"],"repository":{"type":"git","url":"git+https://github.com/a8m/deep-keys.git"},"author":{"name":"Ariel Mashraki","email":"ariel@mashraki.co.il","url":"https://github.com/a8m/deep-keys"},"bugs":{"url":"https://github.com/a8m/deep-keys/issues"},"license":"MIT","readmeFilename":"README.md"}