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

Made by Antonio Ramirez

osx-firefox

1.0.0

@juliangruber

npmHomeRepoSnykSocket
Downloads:237
$ npm install osx-firefox
DailyWeeklyMonthlyYearly

osx-firefox

Launch a fresh Firefox on OSX.

Example

const firefox = require('osx-firefox')

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

Installation

$ npm install osx-firefox

Firefox needs to be installed on your system as well.

API

firefox(opts, cb)

Options:

  • display: Set process.env.DISPLAY to :${opts.display} for xvfb support
  • proxy: Proxy server settings
  • noProxy: Proxy routes to skip
  • background: Don't foreground the browser

License

MIT