[Feature request] `@resvg/resvg-cli` support for npx or bunx CLI usage
Opened this issue · 1 comments
Zhengqbbb commented
💡 @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.
- Use
npx
|bunx
to directly callresvg
to generate PNG. - 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
yisibl commented
Feel free to join us in building the resvg-js ecosystem.