JSPM

Found 8 results for svg-fns

@svg-fns/io

Simple and fast utilities to parse, serialize, and load SVG strings and elements. Optimized for both browser and Node.js environments.

  • v1.0.1
  • 57.87
  • Published

@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.

  • v0.2.0
  • 55.84
  • Published

@svg-fns/layout

Lightweight SVG layout utilities — viewBox parsing, scaling, cropping, and trimming for precise content-aware rendering.

  • v0.1.0
  • 36.79
  • Published

svg-fns

Lightweight, tree-shakeable utilities for working with SVGs. Modular design inspired by date-fns — import only what you need.

  • v0.1.2
  • 24.26
  • Published

@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.

  • v1.0.0
  • 22.03
  • Published

@svg-fns/types

Shared TypeScript type definitions for svg-fns libraries — Rect, Point, Matrix, Padding, and other geometry/layout primitives.

  • v0.0.0
  • 17.05
  • Published

@svg-fns/math

Core SVG math utilities: 2D affine transforms, geometry helpers, and path helpers for high-quality SVG manipulation.

  • v0.0.0
  • 15.72
  • Published

@svg-fns/convert

Utility functions to convert SVGs into different formats (Base64, Blob, Data URI, raster images). Works in browser and Node.js with optimal performance.

  • v0.0.0
  • 12.91
  • Published