1.0.2 • Published 1 month ago

@whoiswhere/server v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month ago

@whoiswhere/server Description WebSocket server for real-time monitoring of web application users. This package serves as the server-side implementation of the @whoiswhere ecosystem.

Installation Install the package via npm:

npm install @whoiswhere/server

Usage Import and initialize the server in your main application file:

const startWhoIsWhereServer = require('@whoiswhere/server');

// Start the server on port 3001
startWhoIsWhereServer(3001);

Parameters port (Optional): The port number to start the WebSocket server on. Defaults to 3001 if not specified. API Endpoints GET /activeWebUsers: Fetch the list of all active users across all web apps. GET /activeWebUsers/:app: Fetch the list of active users for a specific web app. License MIT

1.0.2

1 month ago

1.0.1

7 months ago

1.0.0

7 months ago