Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

support the Stream interface #1

Open
dominictarr opened this Issue Sep 18, 2011 · 0 comments

Comments

Projects
None yet
1 participant

it looks like with a small change this would support the Stream interface,

i.e.

  • emit a drain event,
  • emit error.
  • change feed to write,
  • change value to data (or just create synonyms)
  • inherit from require('stream').Stream (so you get .pipe())

then this library would be compatible with all the other correct stream modules in NPM, and you would be able to pipe things in and out of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment