Skip to content
Sections
>> Trisquel >> Packages >> etiona >> web >> node-through
etiona  ] [  nabia  ] [  aramo  ]
[ Source: node-through  ]

Package: node-through (2.3.8-1)

simplified stream construction

Easy way to create a Stream that is both readable and writable.

   Pass in optional write and end methods.
   through takes care of pause/resume logic if you use this.queue(data)
   instead of this.emit('data', data).
   Use this.pause() and this.resume() to manage flow.
   Check this.paused to see current flow state.
   (write always returns !this.paused).

This function is the basis for most of the synchronous streams in event-stream.

Node.js is an event-based server-side JavaScript engine.

Other Packages Related to node-through

  • depends
  • recommends
  • suggests
  • dep: nodejs
    evented I/O for V8 javascript

Download node-through

Download for all available architectures
Architecture Package Size Installed Size Files
all 4.1 kB18 kB [list of files]