1.0.5 • Published 5 years ago

windows-chrome v1.0.5

Weekly downloads
27
License
ISC
Repository
github
Last release
5 years ago

windows-chrome

Uses win-detect-browsers

Usage

const chrome = require('windows-chrome')

chrome({ uri: 'https://github.com/' }, function(err, ps){
	ps.stderr.setEncoding('utf8')
        ps.stderr.on('data', (data) => {
        	console.log('err', data);
        });
	
	// ... 
})

Installation

$ npm install windows-chrome

Google Chrome needs to be installed on your system as well.

API

chrome(opts, callback)

Callback is called with err and child_process objects.

Options:

  • uri: Open this at start
  • proxy: Proxy server settings
  • dataDir: Data dir, defaults to your systems' TMP
1.0.5

5 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago