1.0.1 • Published 6 years ago

puppeteer-client v1.0.1

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

puppeteer-client

a puppeteer comand line client

Installation

This is a Node.js module available through the npm registry. It can be installed using the npm or yarn command line tools.

npm install puppeteer-client --save

Usage

# print image (path to webpage / image name)
node index.js https://example.com picture

# print image on mobile mode (path to webpage / image name)
node index.js https://example.com picture -m

Tests

npm install
npm test

Dependencies

  • chalk: Terminal string styling done right
  • ora: Elegant terminal spinner
  • puppeteer: A high-level API to control headless Chrome over the DevTools Protocol
  • yargs: yargs the modern, pirate-themed, successor to optimist.

Dev Dependencies

None

License

MIT

1.0.1

6 years ago

1.0.0

6 years ago