Skip to content

Commit

Permalink
Add compatibility to README
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJaredWilcurt committed Aug 1, 2019
1 parent 255aaee commit 577161a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,24 @@ Programmatically open a native "Folder select" dialog in NW.js.

Similar to `<input type="file" nwdirectory>` but with just JavaScript.

Compatible with all versions of NW.js (even all the way back to 0.12.3).


## Installation

```
npm install --save nw-programmatic-folder-select
```


## Basic Usage

```js
const openFolderExplorer = require('nw-programmatic-folder-select');
openFolderExplorer((selection) => { console.log(selection); });
```


## Advanced Usage

```js
Expand Down

0 comments on commit 577161a

Please sign in to comment.