(fs-explorer-ui) Node Terminal File Explorer
A simple package for exploring directories in terminal around your project.
Install
$ npm install fs-explorer-ui
Usage
Promise
const fsExplorerUI = ; startPath: 'D:/your/path' message: 'This message will displayed above folder list' isolate: true;
async, await
{ const yourPath = await startPath: 'D:/your/path' message: 'This message will displayed above folder list' isolate: true ;};
Options
Option | Default Value | Description |
---|---|---|
startPath | process.cwd() | Absolute path from which you start browsing the folders. |
message | undefined | Message that will be displayed above the folder structure. |
isolate | false | Set 'true' if you want to forbid going beyond 'startPath' |
This is on GitHub so let me know if I've broken it somewhere.