Package Exports
- open-file-explorer
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (open-file-explorer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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
}
});