{"_id":"list-paths","_rev":"3-153d320139436d6b06318818c3818ad5","name":"list-paths","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"list-paths","version":"1.0.0","description":"Fetch all paths in the working directory.","main":"public/listPaths.js","types":"public/listPaths.d.ts","directories":{"test":"tests"},"scripts":{"lint":"npx eslint src/*.ts --fix","lint-tests":"npx eslint src/tests/*.test.ts --fix","type-check":"tsc --noEmit","test":"jest","test-cov":"jest --coverage","mutate":"stryker run","compile":"tsc --build tsconfig-build.json","publish-dry-run":"npm publish --dry-run"},"eslintConfig":{"env":{"commonjs":true,"es2020":true,"node":true,"jest":true},"extends":["standard"],"parser":"@typescript-eslint/parser","parserOptions":{"ecmaVersion":11},"plugins":["@typescript-eslint"],"rules":{"indent":["error",4]}},"repository":{"type":"git","url":"git+https://github.com/MeanBoyCousin/list-paths.git"},"keywords":["list","paths","paths","folders","files","dir","directory","node"],"author":{"name":"Tim Dunphy"},"license":"MIT","bugs":{"url":"https://github.com/MeanBoyCousin/list-paths/issues"},"homepage":"https://github.com/MeanBoyCousin/list-paths#readme","devDependencies":{"@stryker-mutator/core":"^3.3.1","@stryker-mutator/jest-runner":"^3.3.1","@stryker-mutator/typescript":"^3.3.1","@types/jest":"^26.0.7","@types/mock-fs":"^4.10.0","@types/node":"^14.0.27","@typescript-eslint/eslint-plugin":"^3.7.1","@typescript-eslint/parser":"^3.7.1","eslint":"^7.5.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","jest":"^26.2.1","mock-fs":"^4.12.0","ts-jest":"^26.1.4","typescript":"^3.9.7"},"jest":{"preset":"ts-jest","testEnvironment":"node"},"gitHead":"055eb29243cee73a6ccf9d0c60763324e0c25be3","_id":"list-paths@1.0.0","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-p9dXqwtqTO92zX/0cX7beWa2kmAcAqU9iU3ZkjG4CLbG+KcuEyVBhi1oCwXw7casEU+aL4au57fQDWO8QDXOuw==","shasum":"79d9edc4c01f8ab17fc4bec0cb264493022602e9","tarball":"https://registry.npmjs.org/list-paths/-/list-paths-1.0.0.tgz","fileCount":7,"unpackedSize":6579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfI/QMCRA9TVsSAnZWagAA5CQP+gO/TbgnV2TSocvc80VP\nL7Av63rXF65WB13NCW5TbXDCikgEsjvpsS6H/ICBcmI28MrXfRlnSZIYOx2c\nEmk1Y36muFoK5Rb0ScpjABiIK36o/JxyD6WaU7Sl77+kDx2Fkye8XafQKvNw\nFss19y8AVpSrEryHdXEDCtqbGHzsjUSR9OHZKVetr2GzAhVbhW3wuX3KiOU6\nacbwCClcgLQJTID7qkP22sDSyt2oFbr6lz2giOPHtwmmPWuPOGNvQ3+bF6AQ\nNNCXIcl8mAvFkRX1Mr3A8qaagJJ7/lOW6/99E7AspF+vb2JSRjwMRN42ZwQd\nD4oXetG05aeJPvvVNS2k7fnuWguHk3+2MArxXEau1ycVv22hByo9YZ7aA+Zm\nJC85cJdILyxSiyP5wJHR/C8Tr58CtsXRONlIRgGjHd0KFeE50eGJH/y8J548\nkjmOs/Vx52mNyrhK11a/AdxOFm7Aa44PRFzu2JL4TJSMSVhF+M8B1rpO+Ysk\nsFGtR+Q0NpLahdUVAb2D/MDRodDkNsLwN8P6kheoTjRvv7xIliI8Zg+d3g2W\nMkGUo9LXisB+yw3PVNZklzfd3Qdi0meAzeQ9ylLK2a/FNOOpPFIZp6pnB7DK\nZfZ6Vz5UG2t6/p8gJ/rVp8wj1pEhAU25bZ9GnFdfigp7WG/SZPxxyYg81ohq\n2EK4\r\n=KitC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEci1R1k4p3EleCuiSYvzDKqwjv4D8oSvCNh6/JXQkBxAiEAjhPTYXOz/kth4Ozo8ILOgd9fkJje22cACXngVmn+riQ="}]},"maintainers":[{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"}],"_npmUser":{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/list-paths_1.0.0_1596191756289_0.8285421749308279"},"_hasShrinkwrap":false},"1.0.1":{"name":"list-paths","version":"1.0.1","description":"Fetch all paths in the working directory.","main":"public/listPaths.js","types":"public/listPaths.d.ts","directories":{"test":"tests"},"scripts":{"lint":"npx eslint src/*.ts --fix","lint-tests":"npx eslint src/tests/*.test.ts --fix","type-check":"tsc --noEmit","test":"jest","test-cov":"jest --coverage","mutate":"stryker run","compile":"tsc --build tsconfig-build.json","publish-dry-run":"npm publish --dry-run"},"eslintConfig":{"env":{"commonjs":true,"es2020":true,"node":true,"jest":true},"extends":["standard"],"parser":"@typescript-eslint/parser","parserOptions":{"ecmaVersion":11},"plugins":["@typescript-eslint"],"rules":{"indent":["error",4]}},"repository":{"type":"git","url":"git+https://github.com/MeanBoyCousin/list-paths.git"},"keywords":["list","paths","paths","folders","files","dir","directory","node"],"author":{"name":"Tim Dunphy"},"license":"MIT","bugs":{"url":"https://github.com/MeanBoyCousin/list-paths/issues"},"homepage":"https://github.com/MeanBoyCousin/list-paths#readme","devDependencies":{"@stryker-mutator/core":"^3.3.1","@stryker-mutator/jest-runner":"^3.3.1","@stryker-mutator/typescript":"^3.3.1","@types/jest":"^26.0.7","@types/mock-fs":"^4.10.0","@types/node":"^14.0.27","@typescript-eslint/eslint-plugin":"^3.7.1","@typescript-eslint/parser":"^3.7.1","eslint":"^7.5.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","jest":"^26.2.1","mock-fs":"^4.12.0","ts-jest":"^26.1.4","typescript":"^3.9.7"},"jest":{"preset":"ts-jest","testEnvironment":"node"},"gitHead":"0214edb263d809e5be84036697a1cecb587589c6","_id":"list-paths@1.0.1","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-18kobmxVNnuwh67QEGIcXLV2kHTKQY2e3HAsbboOJG0nmi+2PPgmCFhrRUFZNyQSJ/aCOwWwrKIQ7J7gLWydVA==","shasum":"b0692ca3b9e6f62beb8bcd454b9ab3812cf64d01","tarball":"https://registry.npmjs.org/list-paths/-/list-paths-1.0.1.tgz","fileCount":7,"unpackedSize":8441,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJAn7CRA9TVsSAnZWagAA3E8QAJPTnoTJGSWbChUnFXdc\nRwwZ7S7ty7bSuiu5krHfPzijntAViIVs2s8FWob3+UbfF4h3DZF//BEIxJdI\n3vFDjqNi11/SJGLCn8ZYYXATB5MkMkytEfveEHYcMvGqn/290ju7KcSO4Rda\nYKbpH5Uzt7TtKuRWHW7tLhVbF7Hh8QRYVSVUQSNWVAWwPOKlP18TREwIoBrF\nOdbYmOu86SwXki0J8Iy2bnzEMOMRZZubYsM+i6Mu+L7rDpGT6VFBG5a3Td3I\njxxBwwL0yqQnKtapU091GMtwsYJEr6WRhQi4NcZqTklLPlSQi5aYdBulcZmJ\nPSxo7zNwWTgkcMS273Osd5RX/1FBy/CAiWBvlwkYlVU7kZuowLAIQiF6p/Az\nOqweJyP7qcmAYbyjuPBTzn/pUkaxYuXLP6GYP3JprmG6Xl2oo1R5+lznDGKT\nEqBhniZEumJRZ3SaHhpr9JyK5T0xn6CJoKeyR6oQgLFI6qQgkJofkqyvTqyA\ncdL2R4afmJZ4peBkVxN/v6rBudg8exPnyu9BChdbesfaNYXHX9SVNNYqkMLZ\nIfF7KoW4fuRVd570SfOUsRWwB2T4chDSD18NgWujffYFEgOD0QWqYMcjEMI8\nF+MNX+L2lZ9J/fK1LRLewUndf8vv+1AVg/vZ4FUpVOJad0o6gKIIkEumEUTt\n8uqB\r\n=fXEZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCh0f3w0dJeRL6CLdoWWFyEUMGxbW+fCmAoP6q0isWQKwIgL2Y/KtXtUmzsdZ/c4HPbt1VjOiOD3LLmq3zMjdlc6z4="}]},"maintainers":[{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"}],"_npmUser":{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/list-paths_1.0.1_1596197371298_0.4686275047314745"},"_hasShrinkwrap":false},"1.0.2":{"name":"list-paths","version":"1.0.2","description":"Fetch all paths in the working directory.","main":"public/listPaths.js","types":"public/listPaths.d.ts","directories":{"test":"tests"},"scripts":{"lint":"npx eslint src/*.ts --fix","lint-tests":"npx eslint src/tests/*.test.ts --fix","type-check":"tsc --noEmit","test":"jest","test-cov":"jest --coverage","mutate":"stryker run","compile":"tsc --build tsconfig-build.json","publish-dry-run":"npm publish --dry-run"},"eslintConfig":{"env":{"commonjs":true,"es2020":true,"node":true,"jest":true},"extends":["standard"],"parser":"@typescript-eslint/parser","parserOptions":{"ecmaVersion":11},"plugins":["@typescript-eslint"],"rules":{"indent":["error",4]}},"repository":{"type":"git","url":"git+https://github.com/MeanBoyCousin/list-paths.git"},"keywords":["list","paths","paths","folders","files","dir","directory","node"],"author":{"name":"Tim Dunphy"},"license":"MIT","bugs":{"url":"https://github.com/MeanBoyCousin/list-paths/issues"},"homepage":"https://github.com/MeanBoyCousin/list-paths#readme","devDependencies":{"@stryker-mutator/core":"^3.3.1","@stryker-mutator/jest-runner":"^3.3.1","@stryker-mutator/typescript":"^3.3.1","@types/jest":"^26.0.7","@types/mock-fs":"^4.10.0","@types/node":"^14.0.27","@typescript-eslint/eslint-plugin":"^3.7.1","@typescript-eslint/parser":"^3.7.1","eslint":"^7.5.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.22.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","jest":"^26.2.1","mock-fs":"^4.12.0","ts-jest":"^26.1.4","typescript":"^3.9.7"},"jest":{"preset":"ts-jest","testEnvironment":"node"},"gitHead":"dcd2fa5493481db48b0184276fc579ee678e9330","_id":"list-paths@1.0.2","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-WHoT4mLs3QT+V1g166Py74atZK+Ae6K4BjOocNccHCZUaZLWfr+6luGdAIWMTCi4XIIJMHzYh9CtTa8tBF4Vbw==","shasum":"6528bf558a3c7a314711fd96df56ba0e888e05f9","tarball":"https://registry.npmjs.org/list-paths/-/list-paths-1.0.2.tgz","fileCount":7,"unpackedSize":10538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKYfSCRA9TVsSAnZWagAAJxcP/31IQnLYbDvd0W9JEKsa\n+ouTRyMEjEBaPQ9emEVgZyVhnXkBqnNM8CvPbB3SusigPVxYy0cc1445E2Gd\niNuO38aL0Kaz5NNkpJO0KdxeU2GhukZiRZig2LB/+boc97mIpxqRIcYmkHoh\nkoSG356v6Zlpipi0bRHZOaCr5zX81pRkE8gt27eZTgJgKe3jvy57arIOfjwj\nc05l/fnhGJooC0BU+XTXptkXC4Y35sW+Y2poF21akR0WdbWQl2Txq+1iVQ7O\n+Vx8RKWmKtdfzFXwBn/CIEGZXSx480j1nt0t32zdw9BqxPy7IWeYRQ+R/Lk0\n5kYHVkTBttQzrTfsrNnZcw6jO0gGltzsrJCWw/FukzO3zoHsizeCOZbp2v14\niqNqYXOnxTIFCs/l3v3Z6xBq/XH/RngiP8QNYStmdr6UGKuj+wwh5Y7iEv2X\n2OPSUuHeLRas/CEPrMX1dvKRFW6BeKeC3CnZ+F7pV4A/j5pSX7vT+z302sbK\n81f9y2iF0+aGqUEstcjA42WbY1ED0zBqvxWcMFr5u/hF8YLSIZ4amnwBNXLq\nX133ak+s5QfFwufKTtJunyTcxvmXdzX+uoy6biv7Htl3cc3ddRakG9Fax1CV\n1iEd5rlswrGRQpYjyPSlt8w3zYfkGx5Ml6Vbw1W/NHI2y5vfEuZZntsBSBMx\nU2HS\r\n=03zS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXiDMfDPtG1tlln6LFjERtQe+EyqTzWRwbz+rUz38dbAIhAPN+vAyx1SXOzCrVrM6H35bLihI94EKLsSUEeFWF74nr"}]},"maintainers":[{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"}],"_npmUser":{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/list-paths_1.0.2_1596557265366_0.5984484397621552"},"_hasShrinkwrap":false}},"time":{"created":"2020-07-31T10:35:56.289Z","1.0.0":"2020-07-31T10:35:56.407Z","modified":"2022-05-08T04:11:42.302Z","1.0.1":"2020-07-31T12:09:31.438Z","1.0.2":"2020-08-04T16:07:45.558Z"},"maintainers":[{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"}],"description":"Fetch all paths in the working directory.","homepage":"https://github.com/MeanBoyCousin/list-paths#readme","keywords":["list","paths","paths","folders","files","dir","directory","node"],"repository":{"type":"git","url":"git+https://github.com/MeanBoyCousin/list-paths.git"},"author":{"name":"Tim Dunphy"},"bugs":{"url":"https://github.com/MeanBoyCousin/list-paths/issues"},"license":"MIT","readme":"# list-paths\n\n[![Build Status](https://travis-ci.org/MeanBoyCousin/list-paths.svg?branch=master) ](https://travis-ci.org/MeanBoyCousin/list-paths) [![npm version](http://img.shields.io/npm/v/list-paths.svg?style=flat)](https://npmjs.org/package/list-paths 'View this project on npm') [![codecov](https://codecov.io/gh/MeanBoyCousin/list-paths/branch/master/graph/badge.svg)](https://codecov.io/gh/MeanBoyCousin/list-paths) [![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2FMeanBoyCousin%2Flist-paths%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/MeanBoyCousin/list-paths/master)\n\n> Node package to fetch all paths in the working directory.\n>\n> Also accepts a sub-directory path and returns all paths within.\n>\n> Ready to use out of the box.\n\n## Install\n\n```console\n$ npm install list-paths\n```\n\n## Usage\n\n#### Find all paths in the working directory.\n\n```js\nconst listPaths = require('list-paths')\nconst dir = listPaths() // [ './', './public', './src', './src/helpers', 'etc...' ]\n```\n\n#### Find all paths in a sub-directory.\n\n```js\nconst listPaths = require('list-paths')\nconst dir = listPaths('./src') // [ './src', './src/helpers', 'etc...' ]\n```\n\n## API\n\n`listPaths` accepts 2 parameters, `path` & an `options object`.\n\n```js\nlistPaths(path, { ignoreNodeModules, ignoreGit, useGitIgnore, includeFiles }) => {string[]}\n```\n\n| Parameter         | Type    | Default | Description                             |\n| ----------------- | ------- | ------- | --------------------------------------- |\n| path              | string  | \".\"     | The directory path to searched.         |\n| ignoreNodeModules | boolean | true    | If true, ignores 'node_modules' folder. |\n| ignoreGit         | boolean | true    | If true, ignores '.git' folder.         |\n| useGitIgnore      | boolean | true    | If true, ignores paths in '.gitignore'. |\n| includeFiles      | boolean | false   | If true, includes file paths.           |\n\n## Authors\n\nTim Dunphy\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](./LICENSE) file for details.\n","readmeFilename":"README.md"}