phantomjscloud-examples
phantomjscloud-examples是什么
什么是phantomjscloud-examples,examples showing usage of PhantomJs Cloud with typescript
- phantomjscloud-examples官网:官网
- phantomjscloud-examples源码仓库:源码仓库
- phantomjscloud-examples下载地址:点此下载 点此下载2
phantomjscloud-examples使用教程帮助文档
phantomjscloud-node-examples
abstract
some examples showing how to use the PhantomJsCloud npm package.
if you have any additional examples, please feel free to either email them to jasons@phantomjscloud.com or submit a pull request.
conversely, if you need an example of something, feel free to open an issue on github and Jason will try to help out.
The examples are written in Typescript, but the output javascript (under ./dist/
) is highly readable.
installation
- download:
npm install phantomjscloud-examples
or pull the repository from github npm install
to install the prerequisitephantomjscloud
module.- browse to the desired
./built/basic/*
file and read the code
run
you can run the various examples from the root directory in this way:
-
node ./built/basic/post-request.js
-
node ./built/basic/capture-pdf.js
-
node ./built/basic/capture-pdf-promise.js
-
node ./built/basic/capture-plaintext-promise.js
-
check the
./built/
folder structure for any other (new) examples too.
本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。
转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]