{"_id":"@bahmutov/all-paths","_rev":"4-b896c650a59cf304a95600d1de4ad9dd","name":"@bahmutov/all-paths","dist-tags":{"latest":"1.0.2"},"versions":{"0.0.0-development":{"name":"@bahmutov/all-paths","description":"Given an object returns list of all possible paths to its properties","version":"0.0.0-development","author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"bugs":{"url":"https://github.com/bahmutov/all-paths/issues"},"config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm prune","npm run deps","npm test","git add src/*.js","npm run ban"],"pre-push":["npm run unused-deps","npm run secure","npm run license","npm run ban -- --all","npm run size"],"post-commit":[],"post-merge":[]}},"engines":{"node":">=6"},"files":["src/*.js","!src/*.test.js"],"homepage":"https://github.com/bahmutov/all-paths#readme","keywords":["object","utility"],"license":"MIT","main":"src/","private":false,"publishConfig":{"registry":"http://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/all-paths.git"},"scripts":{"ban":"ban","deps":"deps-ok && dependency-check --no-dev .","issues":"git-issues","license":"license-checker --production --onlyunknown --csv","lint":"standard --verbose --fix src/*.js","prelint":"npm run pretty","pretest":"npm run lint","pretty":"prettier-standard 'src/*.js'","secure":"nsp check","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";","test":"npm run unit","unit":"jest src","unused-deps":"dependency-check --unused --no-dev .","semantic-release":"semantic-release","travis-deploy-once":"travis-deploy-once"},"devDependencies":{"ban-sensitive-files":"1.9.2","dependency-check":"3.1.0","deps-ok":"1.2.2","git-issues":"1.3.1","jest":"22.4.3","license-checker":"18.0.0","nsp":"3.2.1","pre-git":"3.17.1","prettier-standard":"8.0.0","standard":"11.0.1","semantic-release":"^15.1.4","travis-deploy-once":"^4.4.1"},"dependencies":{"lodash.isplainobject":"4.0.6","lodash.range":"3.2.0"},"release":{"analyzeCommits":{"preset":"angular","releaseRules":[{"type":"break","release":"major"}]}},"gitHead":"98a4a332b7f6b89fe3862447751c393b1bd15602","_id":"@bahmutov/all-paths@0.0.0-development","_npmVersion":"5.7.1","_nodeVersion":"8.9.4","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"integrity":"sha512-e29u82dPsE2PVkHGskGYdFQm/bpqmlgDvFPdPm8vt65ZABCA84zrvRN0J1hwK9OBCUofb3dmzkNGRiq8pxLVSA==","shasum":"3279c2e21bd24d68f00c6f3a5d91564a9c157ef5","tarball":"https://registry.npmjs.org/@bahmutov/all-paths/-/all-paths-0.0.0-development.tgz","fileCount":3,"unpackedSize":6248,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYZSXPlcsjn/Og+1FeY3p66MIz1kW/7LPOrJvrQzGU2wIgJoPNBvlDTL2HYJZqJvHKjw6Z4EMrWH96kFaJe2qepDA="}]},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/all-paths_0.0.0-development_1522118340523_0.7055081819315929"},"_hasShrinkwrap":false},"1.0.1":{"name":"@bahmutov/all-paths","description":"Given an object returns list of all possible paths to its properties","version":"1.0.1","author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"bugs":{"url":"https://github.com/bahmutov/all-paths/issues"},"config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm prune","npm run deps","npm test","git add src/*.js","npm run ban"],"pre-push":["npm run unused-deps","npm run secure","npm run license","npm run ban -- --all","npm run size"],"post-commit":[],"post-merge":[]}},"engines":{"node":">=6"},"files":["src/*.js","!src/*.test.js"],"homepage":"https://github.com/bahmutov/all-paths#readme","keywords":["object","utility"],"license":"MIT","main":"src/","private":false,"publishConfig":{"registry":"http://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/all-paths.git"},"scripts":{"ban":"ban","deps":"deps-ok && dependency-check --no-dev .","issues":"git-issues","license":"license-checker --production --onlyunknown --csv","lint":"standard --verbose --fix src/*.js","prelint":"npm run pretty","pretest":"npm run lint","pretty":"prettier-standard 'src/*.js'","secure":"nsp check","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";","test":"npm run unit","unit":"jest src","unused-deps":"dependency-check --unused --no-dev .","semantic-release":"semantic-release","travis-deploy-once":"travis-deploy-once"},"devDependencies":{"ban-sensitive-files":"1.9.2","dependency-check":"3.1.0","deps-ok":"1.2.2","git-issues":"1.3.1","jest":"22.4.3","license-checker":"18.0.0","nsp":"3.2.1","pre-git":"3.17.1","prettier-standard":"8.0.0","standard":"11.0.1","semantic-release":"^15.1.4","travis-deploy-once":"^4.4.1"},"dependencies":{"lodash.isplainobject":"4.0.6","lodash.range":"3.2.0"},"release":{"analyzeCommits":{"preset":"angular","releaseRules":[{"type":"break","release":"major"}]}},"gitHead":"98a4a332b7f6b89fe3862447751c393b1bd15602","_id":"@bahmutov/all-paths@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"integrity":"sha512-BqaUmNJAAvLBwA6MB91UfsdNacolC+TuhqPLIG8UUF4fDSJNsh6wSuZOIslDxmZ5J7Gvhk5EmOu541cxN7qtgA==","shasum":"ca9f6070a26cf925e92c5732bd586721c5ca3080","tarball":"https://registry.npmjs.org/@bahmutov/all-paths/-/all-paths-1.0.1.tgz","fileCount":3,"unpackedSize":6236,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGw1PP+ZbqLlNN87tIe8gFdAqN1gF1ZixiFFS+Ict9klAiBeosggj3BDVH6CQF4edcgjjLijeDXODNfx9OCcav6Cbw=="}]},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/all-paths_1.0.1_1522118574648_0.5304326445879775"},"_hasShrinkwrap":false},"1.0.2":{"name":"@bahmutov/all-paths","description":"Given an object returns list of all possible paths to its properties","version":"1.0.2","author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"bugs":{"url":"https://github.com/bahmutov/all-paths/issues"},"config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm prune","npm run deps","npm test","git add src/*.js","npm run ban"],"pre-push":["npm run unused-deps","npm run secure","npm run license","npm run ban -- --all","npm run size"],"post-commit":[],"post-merge":[]}},"engines":{"node":">=6"},"files":["src/*.js","!src/*.test.js"],"homepage":"https://github.com/bahmutov/all-paths#readme","keywords":["object","utility"],"license":"MIT","main":"src/","private":false,"publishConfig":{"registry":"http://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/all-paths.git"},"scripts":{"ban":"ban","deps":"deps-ok && dependency-check --no-dev .","issues":"git-issues","license":"license-checker --production --onlyunknown --csv","lint":"standard --verbose --fix src/*.js","prelint":"npm run pretty","pretest":"npm run lint","pretty":"prettier-standard 'src/*.js'","secure":"nsp check","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";","test":"npm run unit","unit":"jest src","unused-deps":"dependency-check --unused --no-dev .","semantic-release":"semantic-release","travis-deploy-once":"travis-deploy-once"},"devDependencies":{"ban-sensitive-files":"1.9.2","dependency-check":"3.1.0","deps-ok":"1.2.2","git-issues":"1.3.1","jest":"22.4.3","license-checker":"18.0.0","nsp":"3.2.1","pre-git":"3.17.1","prettier-standard":"8.0.0","standard":"11.0.1","semantic-release":"^15.1.4","travis-deploy-once":"^4.4.1"},"dependencies":{"lodash.isplainobject":"4.0.6","lodash.range":"3.2.0"},"release":{"analyzeCommits":{"preset":"angular","releaseRules":[{"type":"break","release":"major"}]}},"gitHead":"49464108c08f24ef7dbbd1e94d382f842a37df18","_id":"@bahmutov/all-paths@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"integrity":"sha512-kqeMYh7e9yXWSm7LdQp4BZ4Igxk25lM2Jtw4+G83ro5nFvbHAp3ZmY2na/AVk57+CpZDH/sCXxyKFwkdisnkbw==","shasum":"9ae0dcdf9022dd6e5e14d7fda3479e6a330d035b","tarball":"https://registry.npmjs.org/@bahmutov/all-paths/-/all-paths-1.0.2.tgz","fileCount":3,"unpackedSize":6256,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbpurj4N8ldcBinSEibsGUtLtim4mjtM6SYguJuVY0qwIhAN5veaoL4SAgUBUptJdayyD4tNvIx7zjXvpyTE2nXpjd"}]},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/all-paths_1.0.2_1522118904093_0.5172749081382115"},"_hasShrinkwrap":false}},"time":{"created":"2018-03-27T02:39:00.450Z","0.0.0-development":"2018-03-27T02:39:00.628Z","modified":"2022-04-04T17:30:39.648Z","1.0.1":"2018-03-27T02:42:54.784Z","1.0.2":"2018-03-27T02:48:24.254Z"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"description":"Given an object returns list of all possible paths to its properties","homepage":"https://github.com/bahmutov/all-paths#readme","keywords":["object","utility"],"repository":{"type":"git","url":"git+https://github.com/bahmutov/all-paths.git"},"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"bugs":{"url":"https://github.com/bahmutov/all-paths/issues"},"license":"MIT","readme":"# @bahmutov/all-paths\n\n> Given an object returns list of all possible paths to its properties\n\nIt is like `Object.keys` but for nested properties too.\n\n[![NPM][npm-icon]][npm-url]\n\n[![Build status][ci-image]][ci-url]\n[![semantic-release][semantic-image]][semantic-url]\n[![standard][standard-image]][standard-url]\n[![renovate-app badge][renovate-badge]][renovate-app]\n\n## Install\n\nRequires [Node](https://nodejs.org/en/) version 6 or above.\n\n```sh\nnpm install --save @bahmutov/all-paths\n```\n\n## Use\n\n```js\nconst allPaths = require('@bahmutov/all-paths')\nconst o = {\n  foo: {\n    bar: 42\n  }\n}\nconst paths = allPaths(o)\n// paths is [ ['foo'], ['foo', 'bar'] ]\n// and can be used to access all properties of \"o\"\n// even if they are nested\n```\n\nHint: use [`Ramda.path`](http://ramdajs.com/docs/#path) to get each value.\n\n### Small print\n\nAuthor: Gleb Bahmutov &lt;gleb.bahmutov@gmail.com&gt; &copy; 2018\n\n* [@bahmutov](https://twitter.com/bahmutov)\n* [glebbahmutov.com](https://glebbahmutov.com)\n* [blog](https://glebbahmutov.com/blog)\n\nLicense: MIT - do anything with the code, but don't blame me if it does not work.\n\nSupport: if you find any problems with this module, email / tweet /\n[open issue](https://github.com/bahmutov/all-paths/issues) on Github\n\n## MIT License\n\nCopyright (c) 2018 Gleb Bahmutov &lt;gleb.bahmutov@gmail.com&gt;\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\n[npm-icon]: https://nodei.co/npm/@bahmutov/all-paths.svg?downloads=true\n[npm-url]: https://npmjs.org/package/@bahmutov/all-paths\n[ci-image]: https://travis-ci.org/bahmutov/all-paths.svg?branch=master\n[ci-url]: https://travis-ci.org/bahmutov/all-paths\n[semantic-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\n[semantic-url]: https://github.com/semantic-release/semantic-release\n[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg\n[standard-url]: http://standardjs.com/\n[renovate-badge]: https://img.shields.io/badge/renovate-app-blue.svg\n[renovate-app]: https://renovateapp.com/\n","readmeFilename":"README.md"}