0.1.0 • Published 3 years ago
ts-streams v0.1.0
Typescript Stream
A collection util inspired by java streams
Show Case
Example
let list = ["a1","a2","a3","b4","c5"];
TsStream.from(list).filter(e=>e.startsWith("a")).map(e=>e.substring(1))
.toArray();
NPM
npm i typescript-stream
Todo List
- : shuffle
- : reverse
- : takeWhile
- : dropWhile
- : more unit test
- : more async method
See Also
License
The MIT License, see LICENSE.
0.1.0
3 years ago