3.0.0 • Published 6 years ago

phantom-bridge v3.0.0

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

Deprecated

PhantomJS is deprecated.


phantom-bridge Build Status

Simple PhantomJS bridge

Install

$ npm install --save phantom-bridge

Usage

var path = require('path');
var phantomBridge = require('phantom-bridge');

var cp = phantomBridge(path.join(__dirname, 'phantom-script.js'), [
	'--ignore-ssl-errors=true',
	'--local-to-remote-url-access=true',
	'--ssl-protocol=any'
]);

cp.stdout.pipe(process.stdout);

License

MIT © Sindre Sorhus