ppptr
v0.0.1
Published
Take screenshot of web page with some options in minutes
Readme
ppptr - Simple CLI tool and npm package just take screenshot of Web page with puppeteer in minutes
Install
If you want to use ppptr as command, install with -g option.
npm i -g ppptrOr if you want to use ppptr as npm package in your Node.js project, just install.
npm i ppptrBasic Usage as command
You can use ppptr command if you have install with -g option.
The following command:
ppptr https://www.google.com/ --res SDwill output tmp file path of screenshot to stdout:
/tmp/https___www_google_com_.pngCheck out all options
ppptr --helpBasic Usage as package
import { ppptr } from "ppptr";
const results = await ppptr(url);
// results is an array of string of tmp file path of screenshot
console.log(results);Development
npm ci
npm run build
npm link
NODE_ENV=development ppptr https://www.google.com/ -r SD