mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
ad1dad6ce6
* docs: assert optional properties on types/interfaces have `@default` tag * work * work * work * work * work * work * fix * fix * Update fs/expand_glob.ts * cleanups * cleanups --------- Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.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"