@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/layout
Lightweight SVG layout utilities — viewBox parsing, scaling, cropping, and trimming for precise content-aware rendering.
svg-fns
Lightweight, tree-shakeable utilities for working with SVGs. Modular design inspired by date-fns — import only what you need.
@svg-fns/types
Shared TypeScript type definitions for svg-fns libraries — Rect, Point, Matrix, Padding, and other geometry/layout primitives.