
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
node-html-to-image-cli
Advanced tools
A cli based on node-html-to-image that generates images from HTML
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 and lets you pass down custom configuration to puppeteer which is used under the hood.
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
Without handlebars template
npx node-html-to-image-cli examples/simple.html ./image.png
With additional data passed to the template
npx node-html-to-image-cli examples/handlebars.html ./image.png --content ./examples/handlebars.json
Argument | Description |
---|---|
html | path to a html file |
output | path where image should be created |
Option | Alias | Description |
---|---|---|
--type | -t | type of image that should be generated |
--transparent | none | determine if background of the generated image should be transparent |
--content | -c | path to a content file with handlebars template |
👤 FRIN Yvonnick frin.yvonnick@gmail.com
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2019 FRIN Yvonnick frin.yvonnick@gmail.com.
This project is Apache--2.0 licensed.
This README was generated with ❤️ by readme-md-generator
FAQs
A cli based on node-html-to-image that generates images from HTML
The npm package node-html-to-image-cli receives a total of 61 weekly downloads. As such, node-html-to-image-cli popularity was classified as not popular.
We found that node-html-to-image-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.