open-file-explorer

Open the given file path in the File explorer in your OS

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
open-file-explorer
811.0.24 years ago4 years agoMinified + gzip package size for open-file-explorer in KB

Readme

nodejs-open-file-explorer
This module helps in opening explorer/finder in your OS programatically providing a very simple function to call.

Installation

  1. npm
```sh npm install open-file-explorer --save ```
  1. Yarn
```sh yarn add open-file-explorer ```

Usage

```javascript const openExplorer = require('open-file-explorer'); const path = 'C:\\Users'; openExplorer(path, err => {
if(err) {
console.log(err);
}
else {
//Do Something
}
}); ```