@xrange/core
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

@xrange/core

The very core of xrange, provided as a separate package

Created with create-package-typescript

Differences from xrange:

  • only numeric implementation with two or three numeric arguments: xrange(start, stop, step?);
  • no proper support of decimal numbers, only integers;
  • no custom errors, such as "argument is required" or "argument must infinite";
  • no intelligent boundary swapping, — e.g., xrange(10, 1) will not iterate;
  • only Node.JS is supported (for now at least);

Dependencies (0)

    Dev Dependencies (7)

    Package Sidebar

    Install

    npm i @xrange/core

    Weekly Downloads

    127

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    2.96 kB

    Total Files

    6

    Last publish

    Collaborators

    • parzhitsky