ws-tool icon indicating copy to clipboard operation
ws-tool copied to clipboard

Help wanted: Create Node.js Bindings

Open mkadirtan opened this issue 2 years ago • 1 comments

Hi there, I am trying to create Node.js bindings for this library. Websockets are in high demand in Node.js & Javascript environments, so an npm package for this package would be really helpful. Currently, uWebsockets is the fastest package in javascript environment, but this package can become a good competitor.

I tried to create bindings using napi-rs package template but got stuck with the Rust code. If the repo owner or someone knowledgable in Rust can help me, we can achieve this.

I managed to create a websocket connection using this and napi-rs but creating an API compatible with other websocket packages looks more challenging.

So, feel free to reply here or reach me at [email protected] if you want to help me.

mkadirtan avatar Apr 06 '23 12:04 mkadirtan

It is a good attempt to bring this library into the nodejs ecosystem, but I am not very familiar with napi-rs, I may need to spend some time to get familiar with napi-rs and refer to the API of uWebsocket in nodejs

PrivateRookie avatar Apr 06 '23 13:04 PrivateRookie