I am looking for feedback for the node binding libraries we have been building (primarily to learn reason) https://github.com/ConduitVC/reasonml/tree/master/packages/bs-node-ext .
Part of what makes typescript and flow bindings fairly easy to write for node is the node bindings which provide things like stream for use in other bindings. This is my attempt to make a reusable set of bindings that are both useful for interacting with core node modules like http but also other bindings which use things like streams.
The bindings use a combination of modules and classical inheritance so for instance you can use the stream module on an incoming http request. The idea here is to use a class type which inherits from stream so the stream module can operate on that type and any other type which has inherited from readable/writable/duplex/transform streams.
Let me know what you think and if this could potentially be useful! In the best case I would like to see the node bindings upstreamed to