Skip to content

juliangruber/linux-firefox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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