AppleSauce
    Preparing search index...
    • Returns all NIP-19 pointers in a content string

      Parameters

      • content: string

      Returns (
          | { data: EventPointer; type: "nevent" }
          | { data: ProfilePointer; type: "nprofile" }
          | { data: AddressPointer; type: "naddr" }
          | { data: string; type: "npub" }
          | { data: Uint8Array; type: "nsec" }
          | { data: string; type: "note" }
      )[]