@svg-fns/io
Simple and fast utilities to parse, serialize, and load SVG strings and elements. Optimized for both browser and Node.js environments.
Found 8 results for svg-fns
Simple and fast utilities to parse, serialize, and load SVG strings and elements. Optimized for both browser and Node.js environments.
Utility functions to convert SVGs into different formats (Base64, Blob, Data URI, raster images). Works in client and server with optimal performance.
Lightweight SVG layout utilities — viewBox parsing, scaling, cropping, and trimming for precise content-aware rendering.
Lightweight, tree-shakeable utilities for working with SVGs. Modular design inspired by date-fns — import only what you need.
Lightweight, tree-shakeable utilities to extract structured information (dimensions, aspect ratio, bounding boxes, colors) from SVG elements. Works in both browser and Node.js.
Shared TypeScript type definitions for svg-fns libraries — Rect, Point, Matrix, Padding, and other geometry/layout primitives.
Core SVG math utilities: 2D affine transforms, geometry helpers, and path helpers for high-quality SVG manipulation.
Utility functions to convert SVGs into different formats (Base64, Blob, Data URI, raster images). Works in browser and Node.js with optimal performance.