Get the value of the meta tag by the given name.
Usage:
<meta name="keywords" content="mazey,web,frontend"> Copy
<meta name="keywords" content="mazey,web,frontend">
import { getPageMeta } from "mazey";const keywords = getPageMeta("keywords");console.log(keywords); Copy
import { getPageMeta } from "mazey";const keywords = getPageMeta("keywords");console.log(keywords);
Output:
mazey,web,frontend Copy
mazey,web,frontend
The name of the meta tag.
The content of the meta tag.
Get the value of the meta tag by the given name.
Usage:
Output: