See demo at http://api.tinode.co/ (source)
Regularly released NPM packages are at https://www.npmjs.com/package/tinode-sdk
You may include the latest standalone minified SDK into your html file as
<script crossorigin="anonymous"
src="https://unpkg.com/tinode-sdk/umd/tinode.prod.js">
</script>
or while developing as
<script crossorigin="anonymous"
src="https://unpkg.com/tinode-sdk/umd/tinode.dev.js">
</script>
- Read client-side and server-side API documentation.
- For support, general questions, discussions post to https://groups.google.com/d/forum/tinode.
- For bugs and feature requests open an issue.
To use tinode-sdk as a Node JS dependency, you have to provide a WebSocket provider:
Tinode.setWebSocketProvider(require('ws'));
this.tinode = new Tinode(...);