Skip to content

iterable-iterator/list

Repository files navigation

Iterable to Array for JavaScript. See docs.

⚠️ 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 GitHub issues Downloads

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