{"name":"inquirer-fuzzy-path","version":"1.0.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":"ISC","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"},"gitHead":"818585fab4af64d2c6f54c56b5b4b86cd234ad75","_id":"inquirer-fuzzy-path@1.0.0","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"aldesz","email":"aldewrk@tuta.io"},"dist":{"integrity":"sha512-FhovxoYXj5NqNHHewfrfLy1ay7roY3DsHlZQ9NPEmk0YiFbKqwCR6CwjUxYzoOSgRwjspjAVOHZFlzvjHmXU1w==","shasum":"b6cffa5022fa667b84f1b0a74d2d6c8ee2549309","tarball":"http://registry-npm.ywwl.com/inquirer-fuzzy-path/download/inquirer-fuzzy-path-1.0.0.tgz","fileCount":5,"unpackedSize":67895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbArg8CRA9TVsSAnZWagAAI8sP/iisLqNLm6cdo3BMpC1J\n/fFXoxWKXW2ae4ol3grTrGQXFiVn/bvKFYH8ROjkGLT/nZzZ9NfI46dWdpUW\nqiVUgYl48w6OxmsHh/6J4J6i/Xe7aRD0WbYpN6XqDuZ2EWVYu5WnxaYWx0B0\nwT0HO7IBvVCB+EofkrDEeZMxCP/qJHrngrcGyLB0VhbFVPXyHXw5oI5IU5yV\n3BYlwxpv6Iqd8HHbBliQFcOPlQC/3+eatM+sMeanj/+LMttsgou6J/iEj2yD\nSQ29p6VQg2NL2RTUcMWIncC/8d61+H98T515BmGcORCpNG5r/FrVaZQdBLwy\nl/zlN48MeOhJtP8KsdcDKOPX/vHfu8F4uXnarpg1dSBYcXB+27k7b/5XTFbB\nQ/lfSvYnpnvydmeoCrkuEFAfgGl507NC+bk+9vt+8AsXRomHHcNDTIiXVtCu\npXZHNYSNqQGAJSmjXAycab2VXPPxuHMbrpPZBej76D5YwTuir3ViJouzQxJM\n7kQ9OoP5+pDnGbPi/edp6BzEUAaiDLYrWMN18ukK8DJkzKuIUem4CKS/8/u7\nxA39KYpRURFeMbg1/ts35WkXTvdpZvdwjn8f+Tg5b19nE00cmP3KFnYc3v2c\nhBXqR9VYkPYWYY/5kVyJ/zP1WrjMaYGoMZcJ85h5rJ0QtThXkCs+tSvLdpKV\nIyEK\r\n=sVbM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgs4gtCeY7G1kBh+qaPXwWx/lSBidJao1OVYjjSe/RHgIgMcCCOqcnYuOOGsFcyRDUpvY7WMnHIVYnx9RGQ9vKmBk="}],"size":54824,"noattachment":false,"key":"/inquirer-fuzzy-path/-/inquirer-fuzzy-path-1.0.0.tgz"},"maintainers":[{"name":"aldesz","email":"aldewrk@tuta.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/inquirer-fuzzy-path_1.0.0_1526904891370_0.13087510076179676"},"_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":1526904891534,"_cnpm_publish_time":1526904891534,"dist-tags":{"latest":"2.3.0"}}