Skip to content

lovetodream/html2pdf-api

Repository files navigation

Welcome to html2pdf-api 👋

Version License: MPL--2.0 Build Status Twitter: timoxdev

An simple api which takes html files and generates pdf files

Install

npm install

Usage

npm run start

Api Endpoints

This API has only a single Endpoint /htmlToPdf, this one only handles POST requests. It expects a HTML File and returns a PDF Document, based on the html file sent and the provided css in src/htmlToPdfController.ts.

Run tests

npm run test

Author

👤 Timo Zacherl

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

Buy Me A Coffee

📝 License

Copyright © 2020 Timo Zacherl.
This project is MPL--2.0 licensed.


This README was generated with ❤️ by readme-md-generator