This release is 2 versions behind 1.0.8 — the latest version of @std/fmt. Jump to latest
Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
Utilities for formatting values, such as adding colors to text, formatting durations, printf utils, formatting byte numbers.
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
100%
Published
10 months ago (1.0.6)
Provides utilities for formatting text of different types:
import { format } from "@std/fmt/bytes"; import { red } from "@std/fmt/colors"; console.log(red(format(1337))); // Prints "1.34 kB"
Built and signed on
GitHub Actions