A pusher client for the node.js
How to use
PusherClient = PusherClient pusher_client = appId: processenvPUSHER_APP_ID or app_id key: processenvPUSHER_KEY or pusher_key secret: processenvPUSHER_SECRET or pusher_secret pres = nullpusher_clienton 'connect' -> pres = pusher_client preson 'success' -> preson 'pusher_internal:member_removed' data -> consolelog "member_removed" preson 'pusher_internal:member_added' data -> consolelog "member_added" pusher_client
PUSHER_APP_ID=xx PUSHER_KEY=xxx PUSHER_SECRET=xxx node test.js
License
This code is free to use under the terms of the MIT license.