jsbin-robot:使用phantomjs匿名发送代码到jsbin.com

时间:2021-06-16 15:35:32
【文件属性】:
文件名称:jsbin-robot:使用phantomjs匿名发送代码到jsbin.com
文件大小:46KB
文件格式:ZIP
更新时间:2021-06-16 15:35:32
JavaScript jsbin-机器人 使用phantomjs匿名发送代码到jsbin.com 安装 npm install jsbin-robot 用法 var JsbinRobot = require ( 'jsbin-robot' ) ; new JsbinRobot ( ) . send ( { html : '

hello

' , js : 'console.log("world")' , css : 'h1 { background-color: red; }' } , function ( err , generatedUrl ) { if ( err ) { return console . log ( err ) ; } console . log ( generatedUrl ) ; } ) ; 打开生成的url,比如我收到了 ,你会看到你的数据保存
【文件预览】:
jsbin-robot-master
----index.js(882B)
----package.json(322B)
----.gitignore(14B)
----README.md(889B)
----printscreen.png(59KB)

网友评论