nostr-websocket-utils

nostr-websocket-utils v0.3.16


nostr-websocket-utils / createServer

Function: createServer()

createServer(options): NostrServer

Defined in: core/nostr-server.ts:109

Creates a new Nostr WebSocket server instance

Parameters

options

NostrWSServerOptions

Server configuration options

Returns

NostrServer

The created server instance