@giancosta86/time-utils
v5.0.0
Published
Time-related utilities
Readme
time-utils
Time-related utilities
Introduction
time-utils is a TypeScript library providing time-related types and functions.
Installation
The package on NPM is:
@giancosta86/time-utils
The public API entirely resides in the root package index, so one shouldn't reference specific modules.
Usage
Please, refer to:
the
IsoDateclassthe
Milliseconds,SecondsandMinutestype aliasesdelay(),epsilonDelay()andsyncDelay(especially for tests)the
Timestampalias - greatly combined withDate.now()measureDuration- to time both sync and async blocks (particularly in tests)
