nostr-websocket-utils v0.3.0
nostr-websocket-utils / validateMessage
validateMessage(message): boolean
message
boolean
Validates a message according to NIP-01 specifications
NostrWSMessage
nips/nip-01.ts:20