phantom-bridge
v2.0.1 phantomjs phantom headless browser bridge website web
Deprecated
phantom-bridge
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