open-file-explorer
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/open-file-explorer package

1.0.2 • Public • Published

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
npm install open-file-explorer --save
  1. 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
    }
});

Dependents (36)

Package Sidebar

Install

npm i open-file-explorer

Weekly Downloads

253

Version

1.0.2

License

Apache License 2.0

Unpacked Size

14.9 kB

Total Files

7

Last publish

Collaborators

  • vibhor1997a