Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@iterable-iterator/list

iterable-iterator1.1kAGPL-3.01.0.1

Iterable to Array for JavaScript

array, iter, iterable, iterator, list, toArray

readme

:oden: @iterable-iterator/list

Iterable to Array for JavaScript. See docs.

:warning: This is just an alias for Array.from. In 99.99999% of the cases please use Array.from directly.

import {list} from '@iterable-iterator/list';
list('abc'); // ['a', 'b', 'c']

import {nrepeat} from '@iterable-iterator/repeat';
list(nrepeat('A', 3)); // ['A', 'A', 'A']

License Version Tests Dependencies Dev dependencies GitHub issues Downloads

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