Open AdrianRossouw opened 9 years ago
I believe that there is an need and opportunity here to demystify a lot of this stuff for people, in a way that provides a real benefit to maintainers and users.
So this is my idea for handling it:
Obviously that is way too big of a project to set out to tackle up front, but I think we can make a dent in the problem if we just started to head out in this general direction.
see also : https://github.com/whatwg/streams
although I suspect that the spec will be out of sync with node streams (v1, v2 and v3+), so we could never support just the whatwg spec.
A big part of our mission statement is to research and document how to use the various stream-oriented libraries that are being added to npm every day.
It's become very apparent to me over the last few months that this is probably one of the biggest challenges of building systems this way. There are hundreds, if not thousands, of stream modules, and just evaluating them is a full-time job.
I have some ideas on how we can make this easier for our users, but we really need to pose the question to a wider audience.