screenshotr
v1.0.0-beta
Published
Puppeteer screenshot utility executing on URL screenshot configurations.
Downloads
7
Readme
screenshotr
Node.js, Puppeteer (Chrome) screenshot tool
Environment Variables
| Variable | Description | Default |
| --------------------------------- | ----------------------------------------------- | ------------- |
| NODE_ENV | Node execution environment | 'development' |
| SCREENSHOTR_DEBUG_LEVEL | 1, 2, or 3 - overrides "DEBUG_LEVEL" | 2 |
| SCREENSHOTR_HEADLESS | Whether or not browser is run in the background | true |
| SCREENSHOTR_FOLDER_PATH | Desination directory for screen captures (png) | ./temp
|
| SCREENSHOTR_DEFAULT_WIDTH | | 1200 |
| SCREENSHOTR_DEFAULT_HEIGHT | | 1280 |
| SCREENSHOTR_DEFAULT_WIDTH_MOBILE | | 375 |
| SCREENSHOTR_DEFAULT_HEIGHT_MOBILE | | 812 |