getpdf

A tiny npm command that creates a PDF file and a PNG image of a full web page. This uses the puppeteer npm package!

Usage no npm install needed!

<script type="module">
  import getpdf from 'https://cdn.skypack.dev/getpdf';
</script>

README

getpdf

A tiny npm command that creates a PDF file and a PNG image of a full web page. This uses the puppeteer npm package!

How does it works?

Simply run npm i -g getpdf to install globally, then if you want to get a pdf and png files run getpdf www.example.com 👍 Or, if possible use npx getpdf www.example.com 🥳

Have fun!