UNPKG

node-red-contrib-nostr

Version:

Node-RED nodes for seamless Nostr protocol integration. Features robust WebSocket handling, event filtering, and NPUB-based routing. Built with TypeScript for type safety and extensive testing. Perfect for Nostr automation flows.

9 lines (8 loc) 350 B
export declare class Validation { static isValidHexString(str: string): boolean; static isValidPubkey(pubkey: string): boolean; static isValidEventId(id: string): boolean; static isValidSignature(signature: string): boolean; static isValidRelayUrl(url: string): boolean; static isValidTimestamp(timestamp: number): boolean; }