5.0.0 • Published 2 years ago

@giancosta86/time-utils v5.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

3.0.0

2 years ago

3.0.0-alpha.1

2 years ago

4.1.0

2 years ago

3.0.0-alpha.3

2 years ago

4.0.0

2 years ago

3.0.0-alpha.2

2 years ago

3.0.0-alpha.5

2 years ago

4.2.0

2 years ago

4.1.1

2 years ago

3.0.0-alpha.4

2 years ago

2.0.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago