4.0.2 • Published 6 years ago

phantomjscloud-examples v4.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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

  1. download: npm install phantomjscloud-examples or pull the repository from github
  2. npm install to install the prerequisite phantomjscloud module.
  3. 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.

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.0.0

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.16

8 years ago

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago