open-file-explorer
v1.0.2
Published
Open the given file path in the File explorer in your OS
Downloads
19,318
Maintainers
Readme
nodejs-open-file-explorer
This module helps in opening explorer/finder in your OS programatically providing a very simple function to call.
Installation
- npm
npm install open-file-explorer --save
- Yarn
yarn add open-file-explorer
Usage
const openExplorer = require('open-file-explorer');
const path = 'C:\\Users';
openExplorer(path, err => {
if(err) {
console.log(err);
}
else {
//Do Something
}
});