phantomjscloud-examples
v4.0.2
Published
examples showing usage of PhantomJs Cloud with typescript
Downloads
41
Maintainers
Readme
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 [email protected] 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-examplesor pull the repository from github npm installto install the prerequisitephantomjscloudmodule.- 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.jsnode ./built/basic/capture-pdf.jsnode ./built/basic/capture-pdf-promise.jsnode ./built/basic/capture-plaintext-promise.jscheck the
./built/folder structure for any other (new) examples too.
