nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / validateMessage

Function: validateMessage()

validateMessage(message): boolean

Validates a message according to NIP-01 specifications

Parameters

message

NostrWSMessage

Returns

boolean

Defined in

nips/nip-01.ts:20