Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function toReadableSize
import { toReadableSize } from "https://deno.land/x/fileserver@1.1.19/src/util.ts";

Turn bytes into a readable string.

Parameters

bytes: number

The bytes.

Returns

string