
Research
Security News
Malicious npm Package Wipes Codebases with Remote Trigger
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
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 43 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.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.
Security News
New CNA status enables OpenJS Foundation to assign CVEs for security vulnerabilities in projects like ESLint, Fastify, Electron, and others, while leaving disclosure responsibility with individual maintainers.