Tims
Textual display of millisecond durations and in several languages.
Tims 🕚
- no dependency
- optimized and light code
- typescript typings included
- deno version of the npm package
tims.
Usage
Methods
| Method | Description | Return Type |
|---|---|---|
between(moment, moment, options) |
Get the sentence of time past since given moment. | string |
duration(duration, options) |
Get the sentence of time between given moments. | string |
since(moment, options) |
Get the sentence of given duration. | string |
Pierre Roy