Skip to content

This small typescript nodeJS application allows you to understand how to implement nodeJS streams

Notifications You must be signed in to change notification settings

jeanphilippelingrand/node-typescript-streams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodeJS Streams

This small typescript nodeJS application allows you to understand

  1. How to implement Writable, Readable and Transform streams (Duplex streams not explained yet)
  2. Understand how nodeJS .pipe() function actually manage each stream buffer.
  3. Understand the 11. highWaterMark constructor parameter 11. readable and writable length internal properties

IMPORTANT:

  1. There is no yet explicit explanations but this is ready to be started and play with the parameters and the logs to understand the streams concept.
  2. This is not a library

installation

  1. npm install
  2. npm run start

As is, once you start the application it never ends. The readable stream used as source of data is continuously delivering data in a infinite loop way.

About

This small typescript nodeJS application allows you to understand how to implement nodeJS streams

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published