fetch-meta-tags
JSON →fetch-meta-tags v1.1.0 is a lightweight JavaScript library for fetching and parsing Open Graph tags, title, description, icon, and image from any URL. It uses node-html-parser to efficiently stream the HTML and stops the HTTP request once </head> is received, minimizing bandwidth and load time compared to libraries that fetch the entire page. The library has a small bundle size with minimal dependencies. It is published on npm and supports both CommonJS and ES modules. The release cadence is low; it has seen only a few versions. Key differentiators include its performance-oriented streaming approach and minimal dependency footprint. It is suitable for server-side or edge environments (Node.js, Deno, Bun) that support fetch and streaming. The package includes TypeScript definitions via @types/fetch-meta-tags.