Documentation
    Preparing search index...

    Function readNappletIdMeta

    • Read the NIP-5D publishing metadata <meta name="napplet-id" content="…">.

      Parameters

      • html: string

        HTML document text.

      Returns string | undefined

      The trimmed id, or undefined when absent or blank.

      readNappletIdMeta('<meta name="napplet-id" content="feed">'); // 'feed'