EXPERIMENTAL isomorphic WebSocket client for Pusher (pub/sub). Version 0.2.0. Supports browser, Node.js, React Native, and Web Workers. Unlike the official pusher-js library, this package removes DOM dependency, JSONp authorization, and SockJS fallback for cross-environment compatibility. Uses XHR fallbacks built into the same file. Not suitable for production; use the official pusher-js for critical applications.
npm install pusher-websocket-isoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a Pusher client with app key and cluster, subscribes to a channel, and binds to an event.
Switch to https://github.com/pusher/pusher-js
Use XHR-based authorization (authEndpoint) instead.
Use the official pusher-js for legacy browser support.
No action needed if using modern browsers; may increase bundle size.
Ensure correct require path: const Pusher = require('pusher-websocket-iso/react-native');Use appropriate file for your module system.
Ensure <script src="bower_components/dist/web/pusher.js"></script> or correct import.
Run 'npm install pusher-websocket-iso' and check import path.
Ensure package version 0.2.0; use require('pusher-websocket-iso/react-native') exactly.Use Node.js build (require('pusher-websocket-iso')) instead of browser script.No dependency data recorded yet.