File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ # @PROGRAP/iterator
2+
3+ Iterator library for ECMAScript to easily work with the same set of methods from arrays on any kind of iterable.
4+
5+ ## Installation
6+ ``` bash
7+ npm i @prograp/iterator
8+ ```
9+
10+ ## Usage
11+ ``` js
12+ import { Iterator } from ' @prograp/iterator' ;
13+
14+ iterator .new (iterable)
15+ .map (... )
16+ .filter (... )
17+ .find (... )
18+ .reduce (... )
19+ .dedupe (... )
20+ .forEach (... )
21+ .flat (... )
22+ .flatMap (... )
23+ .find (... )
24+ .findIndex (... )
25+ .some (... )
26+ .intoArray ()
27+ .intoSet ()
28+ .intoMap ()
29+ ```
30+
31+ ## Contribution
32+ Feel free to open a new issue if you encounter bugs or have suggestions for improvements,
33+ but make sure to file one before submitting a Pull-Request, as every PR has to have an issue associated with it.
You can’t perform that action at this time.
0 commit comments