mazey
    Preparing search index...

    Function getPageMeta

    • Get the value of the meta tag by the given name.

      Usage:

      <meta name="keywords" content="mazey,web,frontend">
      
      import { getPageMeta } from "mazey";

      const keywords = getPageMeta("keywords");
      console.log(keywords);

      Output:

      mazey,web,frontend
      

      Parameters

      • name: string

        The name of the meta tag.

      Returns string

      The content of the meta tag.