{"_id":"opener","_rev":"129734","name":"opener","description":"Opens stuff, like webpages and files and executables, cross-platform","dist-tags":{"latest":"1.5.2"},"maintainers":[{"name":"domenic","email":""}],"time":{"modified":"2021-06-03T11:08:39.000Z","created":"2012-08-06T10:58:57.376Z","1.5.2":"2020-08-29T20:25:13.795Z","1.5.1":"2018-08-28T03:26:50.275Z","1.5.0":"2018-08-12T23:59:03.305Z","1.4.3":"2017-02-15T00:33:29.546Z","1.4.2":"2016-09-10T23:46:58.033Z","1.4.1":"2015-03-24T11:38:20.536Z","1.4.0":"2014-08-21T04:05:32.924Z","1.3.0":"2012-09-13T14:16:07.936Z","1.2.0":"2012-08-24T20:22:23.649Z","1.1.0":"2012-08-23T15:35:31.789Z","1.0.1":"2012-08-06T11:01:23.485Z","1.0.0":"2012-08-06T10:58:57.376Z"},"users":{"hughsk":true,"kriskowal":true,"fiveisprime":true,"tiger2wander":true,"baishuiz":true,"mysticatea":true,"jden":true,"danielpacak":true,"famousgarkin":true,"jclo":true,"monsterkodi":true,"jian263994241":true,"wangnan0610":true,"bojand":true,"lgomez":true,"jsdnxx":true,"scottfreecode":true,"uid-11222":true,"gggauravgandhi":true,"shanewholloway":true,"pixelcraft":true,"azertypow":true,"wuuashen":true,"soulchainer":true,"knownasilya":true,"vdsabev":true,"modood":true,"n3u3w3lt":true,"d-band":true,"edwardxyt":true,"ackerapple":true,"attapon.j":true},"author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me/"},"repository":{"type":"git","url":"git+https://github.com/domenic/opener.git"},"versions":{"1.5.2":{"name":"opener","description":"Opens stuff, like webpages and files and executables, cross-platform","version":"1.5.2","author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me/"},"license":"(WTFPL OR MIT)","repository":{"type":"git","url":"git+https://github.com/domenic/opener.git"},"main":"lib/opener.js","bin":{"opener":"bin/opener-bin.js"},"scripts":{"lint":"eslint ."},"devDependencies":{"eslint":"^7.7.0"},"gitHead":"24edf48a38d1e23bbc5ffbeb079c206d5565f062","bugs":{"url":"https://github.com/domenic/opener/issues"},"homepage":"https://github.com/domenic/opener#readme","_id":"opener@1.5.2","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"shasum":"5d37e1f35077b9dcac4301372271afdeb2a13598","size":3071,"noattachment":false,"key":"/opener/-/opener-1.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/opener/download/opener-1.5.2.tgz"},"maintainers":[{"name":"domenic","email":""}],"_npmUser":{"name":"domenic","email":"d@domenic.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opener_1.5.2_1598732713676_0.9320761526342078"},"_hasShrinkwrap":false,"publish_time":1598732713795,"_cnpm_publish_time":1598732713795},"1.5.1":{"name":"opener","description":"Opens stuff, like webpages and files and executables, cross-platform","version":"1.5.1","author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me/"},"license":"(WTFPL OR MIT)","repository":{"type":"git","url":"git+https://github.com/domenic/opener.git"},"main":"lib/opener.js","bin":{"opener":"bin/opener-bin.js"},"files":["lib/","bin/"],"scripts":{"lint":"eslint ."},"devDependencies":{"eslint":"^5.3.0"},"gitHead":"3deb561d900a268173b79eec0126af30e16d4b4b","bugs":{"url":"https://github.com/domenic/opener/issues"},"homepage":"https://github.com/domenic/opener#readme","_id":"opener@1.5.1","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"domenic","email":"d@domenic.me"},"dist":{"shasum":"6d2f0e77f1a0af0032aca716c2c1fbb8e7e8abed","size":3046,"noattachment":false,"key":"/opener/-/opener-1.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/opener/download/opener-1.5.1.tgz"},"maintainers":[{"name":"domenic","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opener_1.5.1_1535426810163_0.09801673221093954"},"_hasShrinkwrap":false,"publish_time":1535426810275,"_cnpm_publish_time":1535426810275},"1.5.0":{"name":"opener","description":"Opens stuff, like webpages and files and executables, cross-platform","version":"1.5.0","author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me/"},"license":"(WTFPL OR MIT)","repository":{"type":"git","url":"git+https://github.com/domenic/opener.git"},"main":"lib/opener.js","bin":{"opener":"bin/opener-bin.js"},"files":["lib/","bin/"],"scripts":{"lint":"eslint ."},"devDependencies":{"eslint":"^5.3.0"},"gitHead":"b9ac3d0d0c6f066e9429889cd54106b8f50785da","bugs":{"url":"https://github.com/domenic/opener/issues"},"homepage":"https://github.com/domenic/opener#readme","_id":"opener@1.5.0","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"domenic","email":"d@domenic.me"},"dist":{"shasum":"24222fb4ad423ba21f5bf38855cebe44220f6531","size":3070,"noattachment":false,"key":"/opener/-/opener-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/opener/download/opener-1.5.0.tgz"},"maintainers":[{"name":"domenic","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opener_1.5.0_1534118343196_0.47769097545898975"},"_hasShrinkwrap":false,"publish_time":1534118343305,"_cnpm_publish_time":1534118343305},"1.4.3":{"name":"opener","description":"Opens stuff, like webpages and files and executables, cross-platform","version":"1.4.3","author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me/"},"license":"(WTFPL OR MIT)","repository":{"type":"git","url":"git+https://github.com/domenic/opener.git"},"main":"opener.js","bin":{"opener":"opener.js"},"files":["opener.js"],"scripts":{"lint":"jshint opener.js"},"devDependencies":{"jshint":"^2.6.3"},"gitHead":"51a4058b9e5172d9b57fb5e5205bc3f7fb4ace6a","bugs":{"url":"https://github.com/domenic/opener/issues"},"homepage":"https://github.com/domenic/opener#readme","_id":"opener@1.4.3","_shasum":"5c6da2c5d7e5831e8ffa3964950f8d6674ac90b8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"domenic","email":"d@domenic.me"},"dist":{"shasum":"5c6da2c5d7e5831e8ffa3964950f8d6674ac90b8","size":2911,"noattachment":false,"key":"/opener/-/opener-1.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/opener/download/opener-1.4.3.tgz"},"maintainers":[{"name":"domenic","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/opener-1.4.3.tgz_1487118807602_0.517438261769712"},"directories":{},"publish_time":1487118809546,"_cnpm_publish_time":1487118809546,"_hasShrinkwrap":false},"1.4.2":{"name":"opener","description":"Opens stuff, like webpages and files and executables, cross-platform","version":"1.4.2","author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me/"},"license":"(WTFPL OR MIT)","repository":{"type":"git","url":"git+https://github.com/domenic/opener.git"},"main":"opener.js","bin":{"opener":"opener.js"},"files":["opener.js"],"scripts":{"lint":"jshint opener.js"},"devDependencies":{"jshint":"^2.6.3"},"gitHead":"ef28bf7c20de6cea3ff0e9bf0294a78c237e716d","bugs":{"url":"https://github.com/domenic/opener/issues"},"homepage":"https://github.com/domenic/opener#readme","_id":"opener@1.4.2","_shasum":"b32582080042af8680c389a499175b4c54fff523","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"domenic","email":"d@domenic.me"},"dist":{"shasum":"b32582080042af8680c389a499175b4c54fff523","size":2312,"noattachment":false,"key":"/opener/-/opener-1.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/opener/download/opener-1.4.2.tgz"},"maintainers":[{"name":"domenic","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/opener-1.4.2.tgz_1473551216353_0.850118016358465"},"directories":{},"publish_time":1473551218033,"_cnpm_publish_time":1473551218033,"_hasShrinkwrap":false},"1.4.1":{"name":"opener","description":"Opens stuff, like webpages and files and executables, cross-platform","version":"1.4.1","author":{"name":"Domenic Denicola","email":"d@domenic.me","url":"https://domenic.me/"},"license":"WTFPL","repository":{"type":"git","url":"https://github.com/domenic/opener"},"main":"opener.js","bin":{"opener":"opener.js"},"files":["opener.js"],"scripts":{"lint":"jshint opener.js"},"devDependencies":{"jshint":"^2.6.3"},"gitHead":"d0ee95b19951703462fa593baa16e81fdff7827c","bugs":{"url":"https://github.com/domenic/opener/issues"},"homepage":"https://github.com/domenic/opener","_id":"opener@1.4.1","_shasum":"897590acd1aed3311b703b58bccb4d43f56f2895","_from":".","_npmVersion":"2.7.0","_nodeVersion":"1.5.1","_npmUser":{"name":"domenic","email":"d@domenic.me"},"maintainers":[{"name":"domenic","email":""}],"dist":{"shasum":"897590acd1aed3311b703b58bccb4d43f56f2895","size":2310,"noattachment":false,"key":"/opener/-/opener-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/opener/download/opener-1.4.1.tgz"},"directories":{},"publish_time":1427197100536,"_cnpm_publish_time":1427197100536,"_hasShrinkwrap":false},"1.4.0":{"name":"opener","description":"Opens stuff, like webpages and files and executables, cross-platform","version":"1.4.0","author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenic.me/"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/domenic/opener.git"},"bugs":{"url":"http://github.com/domenic/opener/issues"},"main":"opener.js","bin":{"opener":"opener.js"},"scripts":{"lint":"jshint opener.js"},"devDependencies":{"jshint":"^2.5.4"},"gitHead":"b9d36d4f82c26560acdadbabbb10ddba46a30dc5","homepage":"https://github.com/domenic/opener","_id":"opener@1.4.0","_shasum":"d11f86eeeb076883735c9d509f538fe82d10b941","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"domenic","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"dist":{"shasum":"d11f86eeeb076883735c9d509f538fe82d10b941","size":2252,"noattachment":false,"key":"/opener/-/opener-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/opener/download/opener-1.4.0.tgz"},"directories":{},"publish_time":1408593932924,"_cnpm_publish_time":1408593932924,"_hasShrinkwrap":false},"1.3.0":{"name":"opener","description":"Opens stuff, like webpages and files and executables, cross-platform","version":"1.3.0","author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/domenic/opener.git"},"bugs":{"url":"http://github.com/domenic/opener/issues"},"main":"opener.js","bin":{"opener":"opener.js"},"scripts":{"lint":"jshint opener.js"},"devDependencies":{"jshint":">= 0.9.0"},"_id":"opener@1.3.0","dist":{"shasum":"130ba662213fa842edb4cd0361d31a15301a43e2","size":1969,"noattachment":false,"key":"/opener/-/opener-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/opener/download/opener-1.3.0.tgz"},"_npmVersion":"1.1.61","_npmUser":{"name":"domenicdenicola","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"directories":{},"publish_time":1347545767936,"_hasShrinkwrap":false,"_cnpm_publish_time":1347545767936},"1.2.0":{"name":"opener","description":"Opens stuff, like webpages and files and executables, cross-platform","version":"1.2.0","author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/domenic/opener.git"},"bugs":{"url":"http://github.com/domenic/opener/issues"},"main":"opener.js","bin":{"opener":"opener.js"},"scripts":{"lint":"jshint opener.js --show-non-errors"},"devDependencies":{"jshint":">= 0.7.3"},"_id":"opener@1.2.0","dist":{"shasum":"4fabd0903b3c92226349cce816155a7cf9c1ff5c","size":1874,"noattachment":false,"key":"/opener/-/opener-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/opener/download/opener-1.2.0.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"domenicdenicola","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"directories":{},"publish_time":1345839743649,"_hasShrinkwrap":false,"_cnpm_publish_time":1345839743649},"1.1.0":{"name":"opener","description":"Opens stuff, like webpages and files and executables, cross-platform","version":"1.1.0","author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/domenic/opener.git"},"bugs":{"url":"http://github.com/domenic/opener/issues"},"main":"opener.js","bin":{"opener":"opener.js"},"scripts":{"lint":"jshint opener.js --show-non-errors"},"devDependencies":{"jshint":">= 0.7.3"},"_id":"opener@1.1.0","dist":{"shasum":"824dd356148d853e8adac34945c4b36a0b028bdd","size":1769,"noattachment":false,"key":"/opener/-/opener-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/opener/download/opener-1.1.0.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"domenicdenicola","email":"domenic@domenicdenicola.com"},"maintainers":[{"name":"domenic","email":""}],"directories":{},"publish_time":1345736131789,"_hasShrinkwrap":false,"_cnpm_publish_time":1345736131789},"1.0.1":{"name":"opener","description":"Opens stuff, like webpages and files and executables, cross-platform","version":"1.0.1","author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/domenic/opener.git"},"bugs":{"url":"http://github.com/domenic/opener/issues"},"main":"opener.js","bin":{"opener":"opener.js"},"scripts":{"lint":"jshint opener.js --show-non-errors"},"devDependencies":{"jshint":">= 0.7.3"},"_id":"opener@1.0.1","dist":{"shasum":"7d47b0c11ac1f4a5bc707f2a41d6784540c3fe98","size":1591,"noattachment":false,"key":"/opener/-/opener-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/opener/download/opener-1.0.1.tgz"},"maintainers":[{"name":"domenic","email":""}],"directories":{},"publish_time":1344250883485,"_hasShrinkwrap":false,"_cnpm_publish_time":1344250883485},"1.0.0":{"name":"opener","description":"Opens stuff, like webpages and files and executables, cross-platform","version":"1.0.0","author":{"name":"Domenic Denicola","email":"domenic@domenicdenicola.com","url":"http://domenicdenicola.com"},"license":"WTFPL","repository":{"type":"git","url":"git://github.com/domenic/opener.git"},"bugs":{"url":"http://github.com/domenic/opener/issues"},"main":"opener.js","bin":{"opener":"opener.js"},"scripts":{"lint":"jshint opener.js --show-non-errors"},"devDependencies":{"jshint":">= 0.7.3"},"_id":"opener@1.0.0","dist":{"shasum":"355bcdf938f918b2723d2fd2293367976c0798c8","size":1592,"noattachment":false,"key":"/opener/-/opener-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/opener/download/opener-1.0.0.tgz"},"maintainers":[{"name":"domenic","email":""}],"directories":{},"publish_time":1344250737376,"_hasShrinkwrap":false,"_cnpm_publish_time":1344250737376}},"readme":"# It Opens Stuff\n\nThat is, in your desktop environment. This will make *actual windows pop up*, with stuff in them:\n\n```bash\nnpm install opener -g\n\nopener http://google.com\nopener ./my-file.txt\nopener firefox\nopener npm run lint\n```\n\nAlso if you want to use it programmatically you can do that too:\n\n```js\nvar opener = require(\"opener\");\n\nopener(\"http://google.com\");\nopener(\"./my-file.txt\");\nopener(\"firefox\");\nopener(\"npm run lint\");\n```\n\nPlus, it returns the child process created, so you can do things like let your script exit while the window stays open:\n\n```js\nvar editor = opener(\"documentation.odt\");\neditor.unref();\n// These other unrefs may be necessary if your OS's opener process\n// exits before the process it started is complete.\neditor.stdin.unref();\neditor.stdout.unref();\neditor.stderr.unref();\n```\n\n## Use It for Good\n\nLike opening the user's browser with a test harness in your package's test script:\n\n```json\n{\n    \"scripts\": {\n        \"test\": \"opener ./test/runner.html\"\n    },\n    \"devDependencies\": {\n        \"opener\": \"*\"\n    }\n}\n```\n\n## Why\n\nBecause Windows has `start`, Macs have `open`, and *nix has `xdg-open`. At least [according to some person on StackOverflow](http://stackoverflow.com/q/1480971/3191). And I like things that work on all three. Like Node.js. And Opener.\n","_attachments":{},"homepage":"https://github.com/domenic/opener#readme","bugs":{"url":"https://github.com/domenic/opener/issues"},"license":"(WTFPL OR MIT)"}