Documentation
    Preparing search index...

    Function parseHandlerInformation

    • Parse a kind-31990 handler-information event.

      Parameters

      • event: NostrEvent

        A kind-31990 event (kind is not re-validated)

      Returns HandlerInformation

      The structured handler information

      import { parseHandlerInformation, handlesKind } from '@kehto/nip/89';
      const info = parseHandlerInformation(event);
      if (handlesKind(info, 1)) openWith(info);