npm.io
1.0.0 • Published 10 years ago

linux-firefox

Licence
MIT
Version
1.0.0
Deps
0
Vulns
0
Weekly
0
Stars
6

linux-firefox

Launch a fresh Firefox on Linux.

Example

const firefox = require('linux-firefox')

firefox({ uri: 'https://github.com/' }, (err, ps) => {
  if (err) throw err    
  ps.on('error', console.error)
})

Installation

$ npm install linux-firefox

Firefox needs to be installed on your system as well.

API

firefox(opts, cb)

Options:

  • display: Launch Firefox on :${opts.display}
  • proxy: Proxy server settings
  • noProxy: Proxy routes to skip

License

MIT