Package
@svg-fns/svg2img
Utility functions to convert SVGs into different formats (Base64, Blob, Data URI, raster images). Works in client and server with optimal performance.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 20.8k
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 10 months ago
- v0.2.0
- GitHub stars
- 3
- 1 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 874
No weekly download data in the snapshot.
20,830 downloads last week, 94,565 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- -
- Latest version
- 0.2.0, 2 Nov 202510 months ago
- First published
- -
- Last push to GitHub
- 13 Jul 202673 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 874
- Dependents on npm
- 4
Major versions
-
Recent releases
-
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 54 kB
- Dependencies (0)
- None
- Peer dependencies (1)
sharp
npm install @svg-fns/svg2img- jsDelivr
https://cdn.jsdelivr.net/npm/@svg-fns/svg2img@0.2.0/ - unpkg
https://unpkg.com/@svg-fns/svg2img@0.2.0/ - esm.sh
https://esm.sh/@svg-fns/svg2img@0.2.0
Indexability: Indexed.