WebSocket and browserchannel transport plugin for Racer (and DerbyJS). Current stable version is 10.0.2. Release cadence is irregular; major versions drop support for older Racer versions and features. Provides real-time synchronization between server and client via WebSocket. Key differentiator: it is the standard transport layer for DerbyJS/Racer apps, supporting session handling and custom hooks. Since v10, it dropped browserchannel support and only uses pure WebSockets. It works with Racer >= 0.9 and requires Browserify for client-side bundling.
npm install racer-highwayNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up an Express server with Racer store and racer-highway for WebSocket upgrade handling.
Downgrade to v9.0.0 or v8.1.0, or migrate to pure WebSocket.
Update racer to version >=0.9.
Use require('racer-highway/lib/bundle') to get the bundler function, or rely on store.bundle(...).Pass { session: sessionMiddleware } as second argument to highway().Use const highway = require('racer-highway');Add server.on('upgrade', handlers.upgrade); after calling highway(store).Upgrade racer to >=0.9.