{"name":"inquirer-fuzzy-path","version":"2.3.0","description":"Fuzzy file/directory search and select prompt for inquirer.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["fuzzy","inquirer","directory","file","search","select"],"author":{"name":"adelsz"},"license":"MIT","homepage":"https://github.com/adelsz/inquirer-fuzzy-path","dependencies":{"ansi-styles":"^3.2.1","fuzzy":"^0.1.3","inquirer":"^6.0.0","inquirer-autocomplete-prompt":"^1.0.2","strip-ansi":"^4.0.0"},"engines":{"node":">=8.0"},"devDependencies":{"eslint":"^5.4.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-import":"^2.14.0"},"gitHead":"76e9f89e3fcd2d88dcc1eaea05b3d0e5ea9cef5d","_id":"inquirer-fuzzy-path@2.3.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-zfHC/97GSkxKKM7IctZM22x1sVi+FYBh9oaHTmI7Er/GKFpNykUgtviTmqqpiFQs5yJoSowxbT0PHy6N+H+QRg==","shasum":"9bc51dc47d7d9c7eb53daac7fd7c9e615eb040c5","tarball":"http://registry-npm.ywwl.com/inquirer-fuzzy-path/download/inquirer-fuzzy-path-2.3.0.tgz","fileCount":6,"unpackedSize":70656,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesEjhCRA9TVsSAnZWagAAdAYP/2iEMqZ6XBJsMxh+E7r7\nnikfuv8Gb5uQnM+D9gkuqcmQ0Dyfm3kL0XncWNOEdQWoLGp5Ndjsi4SdBOrg\nJDCMyj9Q8ramvQrDwjB58727MDMAjdKzmmcR1c9exQ0XzNDiEASd+vt7a9UV\niYJp/qVi8XzMgsLIg/hOMnsVOXu7XFl3j7bB4uSuz7v0bR2z6ZYK/KvPAowb\nZTxoZzAwYnMJWL7nM4D5I0FbD85GtD401eQBCl+l/5Cv2sfcYWLu7zLGqSBR\ngrc6+2pk0tz9nS9E1ZXoiZplpwF5obFc0SRwih6wSXZR+ZbKrqtqO6goKPLG\nU5hMzVHm9SBxuYVpwjDIOutphIL269FQoclETU4qhgJ3DtzjpCijZehb4P5a\n4qt/tW+TBLs6FnNEOtLLvrB+AVKAbsUei2o1kXBovMe7onZoUCgEVRgqLKRq\nH8vVx2ddba6FGJwvCXsoPYOVjk5lcUSodQy6pHAubUCVIT4TTkS1MMBeUml/\nqiK7dlQxEEX1EO7dcbXiwdMITAwZzU/zHjj3id6HBAEtlvS/zG+AlqwnPDxA\nY5w/pNaYzMKdEOwVYVN7ElSAvcHNCfZfAKf/ijalK4b4tiDuvv6yRVNZGNKH\ncjgi3IFk1U3B42LNubJhmVOHyDOr9Da1mapeJaHBNra95OrssCT1H4DWJ9Hk\nlzz6\r\n=5BC6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcO4lI1PnOJoUIghLHiguiDzUG1tphlHrqkCvyM2+ZHQIgYAl7qCWBcVTHxAJuFplqP24L4eLW0N2w7T2CIxDok1c="}],"size":56026,"noattachment":false,"key":"/inquirer-fuzzy-path/-/inquirer-fuzzy-path-2.3.0.tgz"},"maintainers":[{"name":"aldesz","email":"aldewrk@tuta.io"}],"_npmUser":{"name":"aldesz","email":"aldewrk@tuta.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/inquirer-fuzzy-path_2.3.0_1588611296997_0.6809624727539638"},"_hasShrinkwrap":false,"readme":"# inquirer-fuzzy-path\n\n\n[![npm](https://img.shields.io/npm/v/inquirer-fuzzy-path)](https://www.npmjs.com/package/inquirer-fuzzy-path)\n[![npm](https://img.shields.io/npm/dw/inquirer-fuzzy-path)](https://www.npmjs.com/package/inquirer-fuzzy-path)\n\nFuzzy file/directory search and select prompt for Inquirer.js \n\n![inquirer-fuzzy-path demo](https://raw.githubusercontent.com/adelsz/inquirer-fuzzy-path/master/recording.gif)\n\n## Usage\n\nRegister the prompt with inquirer:\n```javascript\ninquirer.registerPrompt('fuzzypath', require('inquirer-fuzzy-path'))\n```\n\nCall the prompt:\n```javascript\n  return inquirer.prompt([\n    {\n      type: 'fuzzypath',\n      name: 'path',\n      excludePath: nodePath => nodePath.startsWith('node_modules'),\n        // excludePath :: (String) -> Bool\n        // excludePath to exclude some paths from the file-system scan\n      excludeFilter: nodePath => nodePath == '.',\n        // excludeFilter :: (String) -> Bool\n        // excludeFilter to exclude some paths from the final list, e.g. '.'\n      itemType: 'any',\n        // itemType :: 'any' | 'directory' | 'file'\n        // specify the type of nodes to display\n        // default value: 'any'\n        // example: itemType: 'file' - hides directories from the item list\n      rootPath: 'app',\n        // rootPath :: String\n        // Root search directory\n      message: 'Select a target directory for your component:',\n      default: 'components/',\n      suggestOnly: false,\n        // suggestOnly :: Bool\n        // Restrict prompt answer to available choices or use them as suggestions\n      depthLimit: 5,\n        // depthLimit :: integer >= 0\n        // Limit the depth of sub-folders to scan\n        // Defaults to infinite depth if undefined\n    }\n  ]);\n```\n\n## Change log\n* In version 2.2.0 new option `excludeFilter` was added.\n* In version 2.1.0 new option `depthLimit` was added.\n* In version 2.0.0 option `filterPath` was deprecated. Please use `excludePath` and `itemType` instead.\n\n## Related\n\n- [inquirer](https://github.com/SBoudrias/Inquirer.js) - A collection of common interactive command line user interfaces\n\n## License\n\nMIT © [adelsz](https://github.com/adelsz)\n","publish_time":1588611297103,"_cnpm_publish_time":1588611297103,"dist-tags":{"latest":"2.3.0"}}