mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
10ee73dbbc
Co-authored-by: kt3k <kt3k@users.noreply.github.com> |
||
---|---|---|
.. | ||
bytes_test.ts | ||
bytes.ts | ||
colors_test.ts | ||
colors.ts | ||
deno.json | ||
duration_test.ts | ||
duration.ts | ||
printf_test.ts | ||
printf.ts | ||
README.md |
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"