1.0.0 • Published 8 years ago
osx-safari v1.0.0
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
: SetsDISPLAY=:${opts.display}
for xvfb supporturi
: The uri to open
License
MIT
1.0.0
8 years ago