{"library":"html-metadata-parser","type":"library","category":null,"description":"html-metadata-parser is a JavaScript library for Node.js environments, specializing in the extraction and parsing of metadata from HTML documents. It efficiently scrapes Open Graph (OG) tags, standard HTML meta tags, and image URLs from a given web page. The library provides a single, promise-based `parser` function that takes a URL as input and returns a structured object containing the discovered `og`, `meta`, and `images` data. The current stable version is 2.0.4, with development appearing to be active, although without a strictly defined public release cadence. Its key differentiator lies in its straightforward API for server-side metadata extraction, making it highly suitable for applications requiring functionalities like link previews, social media card generation, or general web content analysis. The package also ships with comprehensive TypeScript type definitions, providing an enhanced development experience for TypeScript users.","language":"javascript","status":"active","version":"2.0.4","tags":["javascript","html metadata","html metadata parser","html metadata crawler","html metadata scraper","html meta","metadata parser","metadata crawler","metadata extract","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install html-metadata-parser","imports":["import { parser } from 'html-metadata-parser';","const { parser } = require('html-metadata-parser');","import type { MetadataResult } from 'html-metadata-parser';"]},{"cmd":"yarn add html-metadata-parser","imports":[]},{"cmd":"pnpm add html-metadata-parser","imports":[]}],"homepage":"https://morioh.com/topic/node-js","github":"https://github.com/nasa8x/html-metadata-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/html-metadata-parser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/html-metadata-parser/compatibility"}}