osx-safari

1.0.0 • Public • Published

osx-safari

Launch a fresh safari on OSX.

Example

const safari = require('osx-safari')
 
safari({ uri: 'https://github.com/' }, (err, ps) => {
  if (err) throw err    
  ps.on('error', console.error)
})

Installation

$ npm install osx-safari

API

safari(opts, cb)

Options:

  • display: Sets DISPLAY=:${opts.display} for xvfb support
  • uri: The uri to open

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i osx-safari

Weekly Downloads

5

Version

1.0.0

License

MIT

Last publish

Collaborators

  • juliangruber