@collabs/ws-server
TypeScript icon, indicating that this package has built-in type declarations

0.13.4 • Public • Published

@collabs/ws-server

Part of the Collabs library. Main package: @collabs/collabs.

@collabs/ws-server contains WebSocketNetworkServer. It listens to connections from @collabs/ws-client clients and syncs updates between them. You can also configure it to store updates persistently and to authenticate clients.

This package also provides the collabs-ws-server command. It starts a WebSocketNetworkServer on $PORT (default: 3001) and $HOST (default: localhost) with in-memory storage and no authentication. This is useful for getting started with a Collabs app; see our app template for an example.

Docs

Providers overview

API

Package Sidebar

Install

npm i @collabs/ws-server

Weekly Downloads

4

Version

0.13.4

License

Apache-2.0

Unpacked Size

365 kB

Total Files

38

Last publish

Collaborators

  • heathermiller
  • mweidner037