Drano is a small javascript library for managing and working with WebSockets, it handles the reconnecting of them if they get disconnected and also the sending of data. Hopefully it's actually useful to someone.
For now, it's best just to read the source code, it's not too complicated. I'll be adding documentation later.
In order to contribute to this project, I ask that you follow these steps:
- Fork the project.
- Make your feature addition or bug fix.
- Add tests for it. This is important so I don't break it in a future version unintentionally.
- Commit, do not mess with things your changes do not actually need to touch.
- Send me a pull request. Bonus points for topic branches.