selectfile

v1.0.1
Select a file using fs and inquirer.

Require selectFile.js, call passing a directory (or dont, it will start in current working dir) and receive a list of directiories and files. Pressing enter will enter a directory or have the function return the full file name.

NPM package is here: https://www.npmjs.com/package/selectfile

npm i selectfile

Metadata

  • ISC
  • Whatever
  • Stefan Terdell
  • released 1/8/2020

Downloads

Maintainers