yisibl/resvg-js

[Feature request] `@resvg/resvg-cli` support for npx or bunx CLI usage

Opened this issue · 1 comments

💡 @resvg/resvg-cli or @resvg/cli or resvg-cli

I didn't find a binary distribution library like Python's resvg-cli in the npm ecosystem.

  1. Use npx | bunx to directly call resvg to generate PNG.
  2. Use npm to distribute commands and binary applications, and also distribute through npmmirror in China.

npx @resvg/resvg-cli  --width 1200 in.svg out.png

cat a.svg | npx @resvg/resvg-cli  --width 1200 - out.png

Feel free to join us in building the resvg-js ecosystem.