style-utils

JSON →
library 0.3.8 ·javascript
verified Jun 7, 2026

Utility functions for parsing and transforming CSS style strings, color values, and transforms, originally companion to animation libraries tween-one, queue-anim, and scroll-anim (v0.3.8). Provides color parsing (hex, rgb, hsl, modern CSS), shadow parsing, transform decomposition, camelCase/snake_case conversions, vendor prefix normalization, and style merging. Lightweight, no dependencies, supports modern color syntax. Last release 2021; used primarily in older animation libraries.