{"name":"inquirer-fuzzy-path","version":"2.0.3","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":"bb5da7247f8d136d5212b41e576898895a2db9b5","_id":"inquirer-fuzzy-path@2.0.3","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"aldesz","email":"aldewrk@tuta.io"},"dist":{"integrity":"sha512-MDMydbobusu4oaEn2eugSHMShxgjFY+Uke221AZ+1gBpHQ38WbtQbe3bt6Sm6iKqaiGx8yy0z8KF0IoRH+BdNg==","shasum":"50123741ad7adb2c6088d8d65b70aa0d41deb0d0","tarball":"http://registry-npm.ywwl.com/inquirer-fuzzy-path/download/inquirer-fuzzy-path-2.0.3.tgz","fileCount":6,"unpackedSize":69618,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckCBOCRA9TVsSAnZWagAAqOQP/1Hs2k3hbPs7VXAWljwb\n6gvmdP3MExExYLgGjVHbtZaD44DDavBel69ri/g45RZ7y3uCvl58zr49dS3T\nUi3zpYaEDrmQsMn1e5vwrYO5HjRlHUFsEOJTPIt13GnaXnZCPGoKHZ9/6qG9\n3NwPB2K8vIvr9lUW4mSx8ycei1ZOpCXWcTJB5MvG/EkAujwWw0rvlViSMtIS\nCiAn4byuaftx3bccW3W5cHOQG1MT+fdtPbtUtsYjf9vj6pp0HGRhO27Y2Z19\n/ifu2+nXLuJvhfkK4C5iilXtzvnlYa2KKqIycOUju8Uqfcd8+gIl5aWZocZI\nz3X6VlPu/BATXCNIkhVGbnJl+6nJzwxVlxH6mtOqN12B8s/X1NDOe3lJB3NE\nRO9Rk+JpcLC2bx1tevFwLysTQD0dIn2MD+TL7nZKHnnsp7IzTyDCB/n0jUkq\nyUFDqoKmyXaHrhtI0bgq+Odsx9XcHf71hCDsjIjKAtidsfvIgI9cJyQhquch\nPsAJcFEPqOgwonJm5LhDanDwJ4WUkliNzu/7vUfCLi1FRKeL2q/XtHjs/IKt\nwb3aL/QJpyR7mvyOljwYnT2fZSxAJZu7WuS6tHtkoy5VuAbnsSowiPuxflQd\nfLCQpa8Nenl8Fr3wjAOo1nQ1UFhObzXvfcRHOaDz6CxByc6nJP03rEkkwQ8p\nn1DO\r\n=6i8V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqNRE1IkeJVdgDDgTzY3/Jy+LghaG0I1jYV74Qzu97ZgIgfSr/UT3a2lQCUIHAYqP9II7ffL4GAbRwfjwe8m1A48w="}],"size":55761,"noattachment":false,"key":"/inquirer-fuzzy-path/-/inquirer-fuzzy-path-2.0.3.tgz"},"maintainers":[{"name":"aldesz","email":"aldewrk@tuta.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/inquirer-fuzzy-path_2.0.3_1552949324815_0.99971176406834"},"_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":1552949325698,"_cnpm_publish_time":1552949325698,"dist-tags":{"latest":"2.3.0"}}