mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
5bed4c81b5
* fix(fmt): stop using `Object.assign` for options * fix(csv): move evaluation of option default values to later * fix(async): change spread syntax to destructuring assignment * lint |
||
---|---|---|
.. | ||
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"