sockjs-stream

A streaming API for sockjs

Usage no npm install needed!

<script type="module">
  import sockjsStream from 'https://cdn.skypack.dev/sockjs-stream';
</script>

README

sockjs-stream

A streaming API for sockjs

Example

Like shoe, but when required on the server gives you a SockJS complient websocket client instead of a SockJS server

var SockJS = require("sockjs-stream")

var stream = SockJS(uri)

// do streaming stuff

Works on both client & server

Installation

npm install sockjs-stream

Contributors

  • Raynos

MIT Licenced