Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 2.33 KB

README.md

File metadata and controls

30 lines (24 loc) · 2.33 KB

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