dudleycarr / nsqjs

NodeJS client library for NSQ
https://nsqjs.com
MIT License
558 stars 75 forks source link

Usage in browser #357

Open kewp opened 3 years ago

kewp commented 3 years ago

This was discussed briefly before #88 but that was years ago. I'm hoping to try to understand - is it possible to have a nsqjs-like client on the browser? What prevents using something like Babel to import nsqjs? What are the reasons for not using it in a browser? @dudleycarr you mentioned SocketIO long ago - what do you think, if the other options aren't viable, would be the best current way of doing this?

A lot of questions. Thanks for your time.

kewp commented 3 years ago

I've made a start on this. https://github.com/kewp/nsq-ws-bridge-nodejs It was actually quite a lot easier than expected.