Negligent Pachinko Machine

    node-num-range

    0.0.2 • Public • Published

    node-range

    An intelligible function for JavaScript that produces a range

    Overview

    The module can be used when you need a function that returns the range of some given numbers as arguments

    Installing

    npm i node-num-range --save-dev

    Usage

    Simply require the node-range module. The export function can be used in any module you desire:

    range(start, end, step)

    const range = require('node-num-range');
     
    range(1,10); //==> [1,2,3,4,5,6,7,8,9,10]
     

    TODO

    • add more tests

    Tests

    npm test

    Uses mocha and chai's expect

    // need to add tests

    Related Modules

    Contributing

    Feel free to file an issue or bug.

    Install

    npm i node-num-range

    DownloadsWeekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • ahadb