deslice
The slice method (Array.prototype.slice) but endless.
Installation
npm add deslice
Usage
; const arr = 0 1 2 3 4 5 // > [0, 1, 2, 3, 4, 5] // > [3, 4, 5] // > [3, 4, 5, 0, 1, 2] // > [2, 3] // > [2, 3] // > [4, 5, 0, 1]
License
This project is licensed under Apache License, version 2.0.