【文件属性】:
文件名称:phantom-bridge:简单的PhantomJS桥
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-26 03:36:22
nodejs phantomjs npm-package deprecated bridge
不推荐使用
幻影桥
简单的桥
安装
$ npm install --save phantom-bridge
用法
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 ) ;
执照
麻省理工学院:copyright:
【文件预览】:
phantom-bridge-main
----.travis.yml(72B)
----index.js(598B)
----test.js(224B)
----package.json(628B)
----readme.md(714B)
----license(1KB)
----fixture.js(24B)
----.gitignore(13B)
----.jshintrc(190B)
----.editorconfig(223B)
----.gitattributes(12B)