Thin stream abstraction on top of pubnub
var pubnub =publish_key: "pub-key"subscribe_key: "sub-key"publish = pubnubcreateWriteStreamsubscribe = pubnubcreateReadStreamWriteStream =subscribed =published =subscribedpublished
Sometimes you get the same published message multiple times in a subscription.
Sometimes a subscription does not give you the message you expect. (i.e. messages get lost permanently)
Sometimes a message gets lost in pubnub until you send another one and those two messages come together
Almost no sensible error handling
packets are not ordered
npm install pubnub-stream