measure-x
Version:
A lightweight and efficient **conversion utility** that supports various **number system conversions**, unit conversions, and more. 🚀
17 lines (16 loc) • 444 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TIME_CONVERSION = void 0;
exports.TIME_CONVERSION = {
Millisecond: 0.001,
Microsecond: 0.000001,
Nanosecond: 0.000000001,
Picosecond: 0.000000000001,
Second: 1,
Minute: 60,
Hour: 3600,
Day: 86400,
Week: 604800,
Month: 2629800, // Average month length in seconds
Year: 31557600, // Average year length in seconds
};