node-redis-pubsub
node-redis-pubsub copied to clipboard
library should support non json messages too
with the current version, library test for the json messages and if its not a valid json it simply throws the error. However if we want to subscribe to events like "expired" they don't return a json object.
Good point!
A PR with unit tests would be very much welcome for this change. 😀