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

Pakket: node-through (2.3.8+~cs0.0.30-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.

node-through downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 5,4 kB21 kB [overzicht]