UNPKG

@toreda/time

Version:

Simple, small footprint library for common time operations and converting between units of time.

16 lines (15 loc) 436 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.milliseconds = void 0; const make_1 = require("./time/make"); /** * Create Time object in 'milliseconds' * @param initial Object's initial value (in milliseconds). * @returns Time object * * @category Time Conversions */ function milliseconds(initial) { return (0, make_1.timeMake)('ms', initial); } exports.milliseconds = milliseconds;