5.0.0 • Published 6 months ago

@giancosta86/time-utils v5.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

time-utils

Time-related utilities

GitHub CI npm version MIT License

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 class

  • the Milliseconds, Seconds and Minutes type aliases

  • delay(), epsilonDelay() and syncDelay (especially for tests)

  • the Timestamp alias - greatly combined with Date.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