UNPKG

@lukeed/ms

Version:

A tiny (414B) and fast utility to convert milliseconds to and from strings.

3 lines (2 loc) 122 B
export function format(millis: number, long?: boolean): string; export function parse(input: string): number | undefined;