range-class

1.0.1 • Public • Published

Range

Quick Start

Install with npm:

$ npm install --save range-class

Use in your script:

import Range from 'range-class';
const range = new Range(1, 10);

constructor

Range's constructor function accepts two parameters, begin and end, and returns a new Range instance.

const range = new Range(1, 100);

/range-class/

    Package Sidebar

    Install

    npm i range-class

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • abuddington