Run Headless-Chrome by Puppeteer on AWS Lambda to take screenshots.
Copy src/config.js.example
to src/config.js
and adjust the configurations.
Just run npm run local
, or make run
to run in a Docker image.
Use Serverless by running npm run deploy
.
Just run npm run test
or make test
to run in a Docker image.
- Compress images