https://github.com/zebbra/timespan-calc
Map and aggregate collections of timespans
https://github.com/zebbra/timespan-calc
availability calculator nodejs sla typescript
Last synced: about 1 month ago
JSON representation
Map and aggregate collections of timespans
- Host: GitHub
- URL: https://github.com/zebbra/timespan-calc
- Owner: zebbra
- License: mit
- Created: 2019-08-29T14:47:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T00:25:50.000Z (over 3 years ago)
- Last Synced: 2025-09-06T14:55:39.687Z (7 months ago)
- Topics: availability, calculator, nodejs, sla, typescript
- Language: TypeScript
- Homepage:
- Size: 1.32 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: code-of-conduct.md
Awesome Lists containing this project
README
# Timespan Calculator
[](https://github.com/prettier/prettier)
[](https://travis-ci.org/zebbra/timespan-calc)
A collection of functions to work with of time spans (eg. calculate service availability from NMS events).
## Installation
```bash
npm install --save @zebbra.ch/timespan-calc
# or
yarn add @zebbra.ch/timespan-calc
```
## Example
See `test/examples` for example usage.