Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@walletconnect/window-metadata

walletconnect1.6mMIT1.0.1TypeScript support: included

Scrape Window Metadata

window, metadata, title, description, favicon

readme

window-metadata npm version

Scrape Window Metadata

API

interface IWebsiteMetadata {
  description: string;
  url: string;
  icons: string[];
  name: string;
}

function getWindowMetadata(): IWebsiteMetadata | null;