joyent/node — pull request #1933 by TooTallNate (2011-10-24 21:55:05+00:00)
Title: Directly export the Stream constructor.

Also setting up a circular reference back to the stream as `Stream.Stream`, for backwards-compatibility.

@visionmedia and I were talking about this. I don't see why we shouldn't do this, since this is the only thing exported from the `stream`. On the other hand, I'm not sure if it's very _node-core-y_ since I don't think any other core module directly exports anything.

Pull request here for discussion :)