{"_id":"firefox-launch","_rev":"90649","name":"firefox-launch","description":"Light cross-platform launcher for Mozilla Firefox","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"time":{"modified":"2021-06-03T10:29:44.000Z","created":"2014-12-28T18:19:10.883Z","1.1.0":"2017-08-19T06:17:10.392Z","1.0.2":"2014-12-28T19:14:02.524Z","1.0.1":"2014-12-28T18:26:21.807Z","1.0.0":"2014-12-28T18:19:10.883Z"},"users":{},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"repository":{"type":"git","url":"git://github.com/hughsk/firefox-launch.git"},"versions":{"1.1.0":{"name":"firefox-launch","version":"1.1.0","description":"Light cross-platform launcher for Mozilla Firefox","main":"index.js","license":"MIT","scripts":{"test":"node test | tap-spec"},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"dependencies":{"firefox-location":"^1.0.0","mkdirp":"^0.5.0","quick-tmp":"0.0.0","rimraf":"^2.2.8","shallow-copy":"0.0.1"},"devDependencies":{"is-running":"^1.0.5","leaked-handles":"^4.2.0","shell-quote":"^1.4.2","tap-spec":"^2.1.2","tape":"^3.0.3"},"repository":{"type":"git","url":"git://github.com/hughsk/firefox-launch.git"},"keywords":["firefox","browser","client","launch","process","spawn"],"homepage":"https://github.com/hughsk/firefox-launch","bugs":{"url":"https://github.com/hughsk/firefox-launch/issues"},"gitHead":"7b5eac0daa5f405b8f4388f445cf55d36b9ad393","_id":"firefox-launch@1.1.0","_shasum":"736e17a1c3adb2f0d2781755a4a0ea4870549c95","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"dist":{"shasum":"736e17a1c3adb2f0d2781755a4a0ea4870549c95","size":2682,"noattachment":false,"key":"/firefox-launch/-/firefox-launch-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/firefox-launch/download/firefox-launch-1.1.0.tgz"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/firefox-launch-1.1.0.tgz_1503123430291_0.941664120182395"},"directories":{},"publish_time":1503123430392,"_hasShrinkwrap":false,"_cnpm_publish_time":1503123430392},"1.0.2":{"name":"firefox-launch","version":"1.0.2","description":"Light cross-platform launcher for Mozilla Firefox","main":"index.js","license":"MIT","scripts":{"test":"node test | tap-spec"},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"dependencies":{"firefox-location":"^1.0.0","mkdirp":"^0.5.0","quick-tmp":"0.0.0","rimraf":"^2.2.8","shallow-copy":"0.0.1"},"devDependencies":{"is-running":"^1.0.5","leaked-handles":"^4.2.0","shell-quote":"^1.4.2","tap-spec":"^2.1.2","tape":"^3.0.3"},"repository":{"type":"git","url":"git://github.com/hughsk/firefox-launch.git"},"keywords":["firefox","browser","client","launch","process","spawn"],"homepage":"https://github.com/hughsk/firefox-launch","bugs":{"url":"https://github.com/hughsk/firefox-launch/issues"},"gitHead":"c701bd7463a1ad012257f475354f468e3a90e92a","_id":"firefox-launch@1.0.2","_shasum":"844e6d7622006387e58a419c0333c30b48986827","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.28","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"dist":{"shasum":"844e6d7622006387e58a419c0333c30b48986827","size":2662,"noattachment":false,"key":"/firefox-launch/-/firefox-launch-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/firefox-launch/download/firefox-launch-1.0.2.tgz"},"directories":{},"publish_time":1419794042524,"_cnpm_publish_time":1419794042524,"_hasShrinkwrap":false},"1.0.1":{"name":"firefox-launch","version":"1.0.1","description":"Light cross-platform launcher for Mozilla Firefox","main":"index.js","license":"MIT","scripts":{"test":"node test | tap-spec"},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"dependencies":{"firefox-location":"^1.0.0","mkdirp":"^0.5.0","quick-tmp":"0.0.0","rimraf":"^2.2.8","shallow-copy":"0.0.1"},"devDependencies":{"is-running":"^1.0.5","leaked-handles":"^4.2.0","shell-quote":"^1.4.2","tap-spec":"^2.1.2","tape":"^3.0.3"},"repository":{"type":"git","url":"git://github.com/hughsk/firefox-launch.git"},"keywords":["firefox","browser","client","launch","process","spawn"],"homepage":"https://github.com/hughsk/firefox-launch","bugs":{"url":"https://github.com/hughsk/firefox-launch/issues"},"gitHead":"c8d090204e387c32d9ddcb583cb330b4080d0628","_id":"firefox-launch@1.0.1","_shasum":"597dade262590c96bf87895fc90b6f09e78559da","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.28","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"dist":{"shasum":"597dade262590c96bf87895fc90b6f09e78559da","size":2644,"noattachment":false,"key":"/firefox-launch/-/firefox-launch-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/firefox-launch/download/firefox-launch-1.0.1.tgz"},"directories":{},"publish_time":1419791181807,"_cnpm_publish_time":1419791181807,"_hasShrinkwrap":false},"1.0.0":{"name":"firefox-launch","version":"1.0.0","description":"Light cross-platform launcher for Mozilla Firefox","main":"index.js","license":"MIT","scripts":{"test":"node test | tap-spec"},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"dependencies":{"firefox-location":"^1.0.0","mkdirp":"^0.5.0","quick-tmp":"0.0.0","rimraf":"^2.2.8","shallow-copy":"0.0.1"},"devDependencies":{"is-running":"^1.0.5","leaked-handles":"^4.2.0","shell-quote":"^1.4.2","tap-spec":"^2.1.2","tape":"^3.0.3"},"repository":{"type":"git","url":"git://github.com/hughsk/firefox-launch.git"},"keywords":["firefox","browser","client","launch","process","spawn"],"homepage":"https://github.com/hughsk/firefox-launch","bugs":{"url":"https://github.com/hughsk/firefox-launch/issues"},"gitHead":"ef473f629e7dd6389f07c6269e53f5443503afe7","_id":"firefox-launch@1.0.0","_shasum":"f18e044f15c3c153800c145662173857133a47b4","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.28","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"dist":{"shasum":"f18e044f15c3c153800c145662173857133a47b4","size":2638,"noattachment":false,"key":"/firefox-launch/-/firefox-launch-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/firefox-launch/download/firefox-launch-1.0.0.tgz"},"directories":{},"publish_time":1419790750883,"_cnpm_publish_time":1419790750883,"_hasShrinkwrap":false}},"readme":"# firefox-launch\n![](http://img.shields.io/badge/stability-experimental-orange.svg?style=flat)\n![](http://img.shields.io/npm/v/firefox-launch.svg?style=flat)\n![](http://img.shields.io/npm/dm/firefox-launch.svg?style=flat)\n![](http://img.shields.io/npm/l/firefox-launch.svg?style=flat)\n\nLight cross-platform launcher for Firefox.\n\n## Usage\n\n[![NPM](https://nodei.co/npm/firefox-launch.png)](https://nodei.co/npm/firefox-launch/)\n\n### `process = spawn(url, [options])`\n\nSpawns a new Firefox instance in a separate process using\n[`child_process.spawn`](http://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options).\n\nOptions include:\n\n* `pref`: [preference file](https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/A_brief_guide_to_Mozilla_preferences)\n  contents to use. Set to `false` to not create a file.\n* `args`: additional command-line arguments to pass to Firefox. See\n  [here](https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options)\n  for more information.\n* `firefoxBinary`: path to a custom Firefox binary.\n* `dir`: user configuration directory to use. By default, one will be\n  created and then removed when the process is killed.\n* `env`: environment variables to use. Defaults to `process.env`.\n* `nuke`: remove `opts.dir` when the process exits.\n\nUnless overridden with `opts.config`, the following preferences will be used:\n\n``` javascript\nuser_pref(\"browser.shell.checkDefaultBrowser\", false);\nuser_pref(\"browser.bookmarks.restore_default_bookmarks\", false);\nuser_pref(\"dom.allow_scripts_to_close_windows\", true);\nuser_pref(\"dom.disable_open_during_load\", false);\nuser_pref(\"dom.max_script_run_time\", 0);\n```\n\n## License\n\nMIT. See [LICENSE.md](http://github.com/hughsk/firefox-launch/blob/master/LICENSE.md) for details.\n","_attachments":{},"homepage":"https://github.com/hughsk/firefox-launch","bugs":{"url":"https://github.com/hughsk/firefox-launch/issues"},"license":"MIT"}