Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hex/src/lib/stdx/fmt.ts>duration.format

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
function duration.format
import { duration } from "https://deno.land/x/hex@0.6.5/src/lib/stdx/fmt.ts";
const { format } = duration;

Parameters

ms: number
optional
options: Partial<PrettyDurationOptions> = [UNSUPPORTED]

Returns

string