{"name":"inquirer-fuzzy-path","version":"2.0.1","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":"^5.2.0","inquirer-autocomplete-prompt":"^0.12.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":"c41c3e2df21ab30ba57d6c9b9367907165a8ec69","_id":"inquirer-fuzzy-path@2.0.1","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"aldesz","email":"aldewrk@tuta.io"},"dist":{"integrity":"sha512-skGL971OqzbmvFPO5a5EpvdBi1glgoZdWa5GyJ6+O4TCKkGf1ebOJXYkpcOjzQ3JDrPoKgiT4+f7V+7hdhGrVQ==","shasum":"054190b6daff101da3088177eed58174cfaaca79","tarball":"http://registry-npm.ywwl.com/inquirer-fuzzy-path/download/inquirer-fuzzy-path-2.0.1.tgz","fileCount":6,"unpackedSize":69338,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTaedCRA9TVsSAnZWagAA634P/0qp6FrVqfm7bCbezy27\npgAeg0E3N6d69igntMKQuesWBYTxqpOJa4kaaShn8nae3hUFHMKFnBcFKh6G\nr6HwFSuffeQt1x2X4Gohm8dKa3+Tvm0Xc1Fx2IoLAsjJAx1h9yaxJg8Vzkkq\nmOhd4+5mm+0B1O65062rmZmYvb1BSipSHSuZRy5SLZ+xD0fc90O+tyrlCyCQ\n6qzQTgj8HP+R/IvwdG2TCrgJlmcC6AS4jFiTyf4gh4BQAA/4ZbvDo4MGTlrm\n7q/enKI2WtCWtydPaweEJf/6EhgHaQCTCeIntmYNmxab7gSY20T1ANSVpxxA\nu53omIB+dWe6AwIpmMXqr52quiGI9ZFCBPXmc7gdeZUCJqJYSG9OgOkLAiLo\nHComtDZBnrY9y22asxWnmDPbHBECj1W5pK1wnin0YEy9ufhQ9PIPJ7RydXo3\nK4246irL7GS/pd7MEOeSwPGqn+2ihl1ihIDI8FaGO7gnmFHquWd7g4GsWu7L\nGKe8i5t+D/5P26PTSWBB25SV7DsXxhCcZzuiPhGutnG/TPs05K2PePQkAqva\n5Xoiu9TAQc9Wz2/g2H0bmN1AtJHsiPRtzobckA4etILZ9f4V5KtBDCCdgYO/\nsE53PY1N5Q7sSx5AUJxu8GEmPvJm7E5EC4OdhPyNQ7E73oC9LWCfMbDcuyp4\nn++L\r\n=ySBF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHNCQJX+yNjZueWp+HeyGmiM+3Usdo9o1ub1DEJa+RO6AiBsNR6pCkuMe5sQrrDWyEBuKvnztHh37BuvDoRlkdPfWQ=="}],"size":55669,"noattachment":false,"key":"/inquirer-fuzzy-path/-/inquirer-fuzzy-path-2.0.1.tgz"},"maintainers":[{"name":"aldesz","email":"aldewrk@tuta.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/inquirer-fuzzy-path_2.0.1_1548593053464_0.24312326659532824"},"_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":1548593053620,"_cnpm_publish_time":1548593053620,"dist-tags":{"latest":"2.3.0"}}