An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Timespan Calculator

[![Styled with Prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![Travis](https://img.shields.io/travis/zebbra/timespan-calc.svg)](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.