prefix-si
JSON →A JavaScript library for formatting numbers with SI, IEC, and BS1852 prefixes. Supports binary (KiB/MiB), metric (k/M/G), and BS1852 (e.g., 4K7) styles. Current stable version 1.2.0. TypeScript types included. Lightweight with no dependencies. Comparable to filesize.js but with BS1852 support.
Resources
packageprefix-si ↗