Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
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
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 package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.