kernl API
    Preparing search index...

    Function parseHandlerPreferences

    • Read the public entries of a handler-preferences event.

      Unknown tags and malformed entries are ignored without discarding the event. An i entry counts only when its convention is queryless, fragment-free and names the event's archetype.

      Parameters

      • event: NostrEvent

        A kind-31129 event, already verified as the user's.

      Returns HandlerPreferences | undefined

      The preferences, or undefined when the event is not one.

      parseHandlerPreferences(event)?.handlers; // ['35129:…:notepad']