@davidszell/stream-ts
v2.0.1
Published
A type-safe implementation of streams
Downloads
2
Readme
stream-ts
A type-safe implementation of streams in TypeScript
Install
npm install @davidszell/stream-ts
Example
Stream
.fromArray[1, 2, 3, 4, 5, 6]
.filter(item => item % 2 === 0)
.filter(item => item > 3)
.map(item => item.toSting())
.first() // => '4'