Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wm3ndez/puppeteer-pdf
https://github.com/wm3ndez/puppeteer-pdf
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wm3ndez/puppeteer-pdf
- Owner: wm3ndez
- Created: 2021-12-18T16:25:53.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-07T12:15:15.000Z (almost 2 years ago)
- Last Synced: 2023-03-30T05:40:17.520Z (almost 2 years ago)
- Language: JavaScript
- Size: 29.3 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Puppeteer PDF
=============Very simple Node app that converts an input into a PDF file.
Usage
-----Run the server:
```bash
$ npm start
```Generate a PDF:
```bash
curl -X POST -d "Hello, World" --output mypdf.pdf http://localhost:3000
```