| 1 |
Source: node-through |
| 2 |
Section: javascript |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Javascript Maintainers <[email protected]> |
| 5 |
Uploaders: Thorsten Alteholz <[email protected]> |
| 6 |
Build-Depends: debhelper-compat (= 13) |
| 7 |
, dh-sequence-nodejs |
| 8 |
, node-tape <!nocheck> |
| 9 |
Standards-Version: 4.7.3 |
| 10 |
Vcs-Browser: https://salsa.debian.org/js-team/node-through |
| 11 |
Vcs-Git: https://salsa.debian.org/js-team/node-through.git |
| 12 |
Homepage: https://github.com/dominictarr/through |
| 13 |
Testsuite: autopkgtest-pkg-nodejs |
| 14 |
|
| 15 |
Package: node-through |
| 16 |
Architecture: all |
| 17 |
Depends: ${misc:Depends} |
| 18 |
Multi-Arch: foreign |
| 19 |
Provides: ${nodejs:Provides} |
| 20 |
Description: simplified stream construction |
| 21 |
Easy way to create a Stream that is both readable and writable. |
| 22 |
. |
| 23 |
Pass in optional write and end methods. |
| 24 |
through takes care of pause/resume logic if you use this.queue(data) |
| 25 |
instead of this.emit('data', data). |
| 26 |
Use this.pause() and this.resume() to manage flow. |
| 27 |
Check this.paused to see current flow state. |
| 28 |
(write always returns !this.paused). |
| 29 |
. |
| 30 |
This function is the basis for most of the synchronous streams in event-stream. |
| 31 |
. |
| 32 |
Node.js is an event-based server-side JavaScript engine. |