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.

10 lines (9 loc) 292 B
import { Node, NodeAPI } from 'node-red'; import type { NostrWSClient } from 'nostr-websocket-utils'; export interface NostrRelayConfig extends Node { relay: string; publicKey?: string; privateKey?: string; _ws?: NostrWSClient; } export default function (RED: NodeAPI): void;