New ask Hacker News story: Svger CLI – Zero-dependency SVG to component tool, 52% faster than SVGR
Svger CLI – Zero-dependency SVG to component tool, 52% faster than SVGR 3 by navid_rezadoost | 0 comments on Hacker News. I've been working on an open-source CLI tool called SVGER that converts SVGs into ready-to-use components for React, Vue 3, Angular, Svelte, Solid, and several other frameworks – all with full TypeScript support and tree-shakable exports. What sets it apart: Zero runtime dependencies – installs instantly, no bundle bloat, high security profile Built-in optimizer that often produces smaller SVGs than SVGO (custom tree-based cleanup, path simplification, transform collapsing, shape conversion) In real-world benchmarks on 600+ icons: ~30s total, ~50ms per file, 20 files/sec throughput – 52% faster than SVGR and 33% faster than SVGO while doing both optimization and component generation Plugin system (already shipped with gradient optimizer, stroke normalizer, etc.) Automated visual regression testing in CI to guarantee pixel-perfect output Parallel processing an...