@array-like/realloc

0.0.1 • Public • Published

♻️ @array-like/realloc

ArrayLike reallocation for JavaScript. See docs.

import {alloc} from '@array-like/alloc';
import {iota} from '@array-like/fill';
import {realloc} from '@array-like/realloc':

const a = alloc(100);
iota(a, 0, 100, 0);
const b = realloc(a, 200); // 0 1 2 .. 98 99 undefined undefined ...

License Version Tests Dependencies Dev dependencies GitHub issues Downloads

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1
  • 0.0.0
    0

Package Sidebar

Install

npm i @array-like/realloc

Weekly Downloads

1

Version

0.0.1

License

AGPL-3.0

Unpacked Size

466 kB

Total Files

14

Last publish

Collaborators

  • raskat
  • aureooms