0.1.0 • Published 3 years ago

ts-streams v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Typescript Stream

A collection util inspired by java streams

GitHub License

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.