Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

format

import { format } from "https://raw.githubusercontent.com/EthanThatOneKid/pomo/main/mod.ts";

Format a duration in milliseconds to a string.

function format(duration: Duration, format: string);
§
format(duration: Duration, format: string)
[src]

§Parameters

§
duration: Duration
[src]
§
format: string
[src]