JSPM

@jswork/next-points2range

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

Points to range for next.

Package Exports

  • @jswork/next-points2range

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 (@jswork/next-points2range) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.