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.
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.