npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

linux-firefox

1.0.0

@juliangruber

npmHomeRepoSnykSocket
Downloads:246
$ npm install linux-firefox
DailyWeeklyMonthlyYearly

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