@svg-fns/io
Simple and fast utilities to parse, serialize, and load SVG strings and elements. Optimized for both browser and Node.js environments.
@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.
svg-fns
Lightweight, tree-shakeable utilities for working with SVGs. Modular design inspired by date-fns — import only what you need.
@svg-fns/info
Lightweight, tree-shakeable utilities to extract structured information (dimensions, aspect ratio, bounding boxes, colors) from SVG elements. Works in both browser and Node.js.
@svg-fns/layout
Lightweight SVG layout utilities — viewBox parsing, scaling, cropping, and trimming for precise content-aware rendering.