Functional library for working with numerical ranges in TS
Install
npm install --save range-fns
# or
yarn add range-fns
Use
import {createRange} from "range-fns";
console.log(createRange(0,1)) // [0,1]
Different examples can be found on each function