Skip to content

A type-safe implementation of streams in TypeScript

License

Notifications You must be signed in to change notification settings

davidszell/stream-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'

See also

About

A type-safe implementation of streams in TypeScript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published