Skip to content

Sage/streamline-streams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning: this module is the original stream API for streamline.js. It is now superseeded by the ez-streams package which provide a much richer API.

You can nevertheless use this module directly if you are only interested by the low level wrappers around node streams.

This module provides:

  • a generic ReadableStream wrapper with an asynchronous stream.read(_[, len]) method.
  • a generic WritableStream wrapper with an asynchronous stream.write(_, buf[, encoding]) method.
  • wrappers for HTTP and TCP request and response objects (client and server).

See the API reference for details.

More information

The following blog articles give background information on this API design:

About

Simple streams API for streamline.js

Resources

Stars

Watchers

Forks

Packages

No packages published