Welcome to node-html-to-image-cli
A cli based on node-html-to-image that generates images from HTML
This is cli is based on node-html-to-image. It generates an image from an HTML file.
node-html-to-image provides more options like templating using Handlebars. It also let you pass down custom configuration to puppeteer which is used under the hood.
- node >=10
This step is uneccessary if you use npx.
yarn add global node-html-to-image-cli # or npm install -g node-html-to-image-cli
npx node-html-to-image-cli ./index.html ./image.png
|html||path to a html file|
|output||path where image should be created|
|--type||-t||type of image that should be generated|
- node-html-to-image - API for this cli
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
This README was generated with