Skip to content

array-like/copy

Repository files navigation

ArrayLike copying for JavaScript. See docs.

import {range} from '@iterable-iterator/range';
const n = 100;
const a = Array.from(range(n))
const ai = 0;
const aj = n;
const b = new Uint8Array(n);
const bi = 0;

import {copy} from '@array-like/copy';
copy(a, ai, aj, b, bi);

License Version Tests Dependencies GitHub issues Downloads

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