1.0.0 • Published 4 years ago

number-interval v1.0.0

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
4 years ago

number-interval

This is a NPM library that provides a simple numeric interval with arithmetic operations.

Less talk, more library

npm install number-interval

Keep track of the versions with the changelog.

Motivation

Initially this code was written in order to compute CIDRs in this project.

As it can be used for other interval computations as well (for example time intervals), I decided to put it into a separate library.

Usage

Check out the unit test in order to see all operations in use with some example values.