JSPM

range-component

1.0.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 346
    • Score
      100M100P100Q92592F
    • License MIT

    Return a range of integers

    Package Exports

    • range-component

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (range-component) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    range

    Return a range of integers

    Installation

    $ component install component/range

    API

    Exclusive range:

    range(5, 10);
    // => [5,6,7,8,9]

    Inclusive range (truthy value):

    range(5, 10, true);
    range(5, 10, 'inclusive');
    // => [5,6,7,8,9,10]

    License

    MIT