@jswork/next-points2range

1.0.0 • Public • Published

next-points2range

Points to range for next.

version license size download

installation

npm install -S @jswork/next-points2range

usage

import '@jswork/next-points2range';

const res = nx.points2range(1, 6, -1);

// results:
[
  [ 0, 1 ], 
  [ 1, 6 ], 
  [ 6, -1 ], 
  [ -1 ] 
]

license

Code released under the MIT license.

Dependencies (0)

    Dev Dependencies (16)

    Package Sidebar

    Install

    npm i @jswork/next-points2range

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.98 kB

    Total Files

    5

    Last publish

    Collaborators

    • afeiship