Basic API to print pdf from html with Puppeteer.
Distribute pdf printing between multiple pages in an headless browser.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See Deployment for notes on how to deploy the project on a live system.
Easy way:
docker-compose up
Or:
npm install
npm start
npm test
Parameters (environment variables):
PORT
: port of the server (default: 3000)NB_PAGES
: select the number of concurent pages (default: 3)
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Run the test suite and check the output
- Add tests for your feature or fix (please)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
We use SemVer for versioning. For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details