1.0.0 • Published 4 years ago

@feizheng/next-points2range v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

next-points2range

Points to range for next.

installation

npm install -S @feizheng/next-points2range

usage

import '@feizheng/next-points2range';

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

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

4 years ago