HaxeFoundation / HaxeFoundation/hxnodejs
Allow construction of stream classes?
Open
- Dominant language
- Haxe
- Stars
- 177
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
While we're talking streams, I've noticed that all classes in the `js.node.stream` package have private constructors. I've found it useful to construct streams, for example in string-to-stream conversions:
``` js
var s = new stream.Readable();
s.push('your text here');
s.push(null);
```
(Example from [here](https://stackoverflow.com/questions/12755997/how-to-create-streams-from-string-in-node-js))
So would it be possible to make one or more of those constructors public?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.