diff --git a/README.md b/README.md index a33f80e..d6b7a3f 100644 --- a/README.md +++ b/README.md @@ -22,12 +22,12 @@ Opens a dialog window with the choice of application to open the file. # Example code ```js -const openWith = require('open_with'); +const openWith = require('open-with'); const result = openWith.open(__dirname + '/index.js'); ``` ```js -const openWith = require('open_with'); +const openWith = require('open-with'); const path = require('path'); const result = openWith.open(path.join(__dirname, 'index.js')); diff --git a/package-lock.json b/package-lock.json index 62dfed6..5871fac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "open_with", - "version": "1.0.0", + "name": "open-with", + "version": "1.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "open_with", - "version": "1.0.0", + "name": "open-with", + "version": "1.0.1", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 2e54ace..9e47edb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "open_with", - "version": "1.0.0", + "name": "open-with", + "version": "1.0.1", "description": "Open file with \"open with\" dialog", "main": "index.js", "types": "index.d.ts",