Skip to main content
Module

x/ms/ms.ts>ms

Tiny milisecond conversion utility. Ported from https://npmjs.com/ms
Latest
function ms
import { ms } from "https://deno.land/x/ms@v0.1.0/ms.ts";

Parse or format the given val.

Options:

  • long verbose formatting [false]

Parameters

val: string | number
optional
options: { [key: string]: any; }

Returns

string | number | undefined