0.0.1 • Published 3 years ago

@array-like/copy v0.0.1

Weekly downloads
-
License
AGPL-3.0
Repository
github
Last release
3 years ago

:barber: @array-like/copy

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 Dev dependencies GitHub issues Downloads

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