2.1.0 • Published 6 years ago

broser v2.1.0

Weekly downloads
25
License
MIT
Repository
github
Last release
6 years ago

BROser

Launch any browser, on any OS!

Example

const launch = require('broser')

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

Or use its CLI:

$ npm install -g broser
$ broser chrome https://github.com

Available browsers

API

launch(browser, opts, cb)

Options:

  • uri

CLI

$ broser
Usage: broser BROWSER URI

License

MIT