Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 2 KB

README.md

File metadata and controls

28 lines (23 loc) · 2 KB

ArrayLike rotation for JavaScript. See docs.

import {range} from '@iterable-iterator/range';
import {rotateLeft} from '@array-like/rotate';

const a = Array.from(range(5));
rotateLeft(a, 0, 5, 2);
a; // 2 3 4 0 1

License Version Tests Dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size