5.0.0 • Published 6 months ago
@giancosta86/time-utils v5.0.0
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
IsoDate
classthe
Milliseconds
,Seconds
andMinutes
type aliasesdelay()
,epsilonDelay()
andsyncDelay
(especially for tests)the
Timestamp
alias - greatly combined withDate.now()
measureDuration
- to time both sync and async blocks (particularly in tests)
5.0.0
6 months ago
3.0.0
9 months ago
3.0.0-alpha.1
10 months ago
4.1.0
9 months ago
3.0.0-alpha.3
10 months ago
4.0.0
9 months ago
3.0.0-alpha.2
10 months ago
3.0.0-alpha.5
10 months ago
4.2.0
6 months ago
4.1.1
9 months ago
3.0.0-alpha.4
10 months ago
2.0.0
1 year ago
1.1.1
1 year ago
1.1.0
1 year ago
1.0.0
1 year ago