UNPKG

@toreda/time

Version:

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

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