@toreda/time
Version:
Simple, small footprint library for common time operations and converting between units of time.
16 lines (15 loc) • 405 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.seconds = void 0;
const make_1 = require("./time/make");
/**
* Create Time object in 'seconds'
* @param initial Object's initial value (in seconds).
* @returns Time object
*
* @category Time Conversions
*/
function seconds(initial) {
return (0, make_1.timeMake)('s', initial);
}
exports.seconds = seconds;