
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
fetch-meta-tags
Advanced tools
Fetch and parse OG tags and metadata from any URL, the fast way
I wanted a way to quickly fetch OG tags from websites and get their title, description, icon and OG image. I found all existing solutions not to be ideal because:
fetch-meta-tags
solves those problems by:
node-fetch
and node-html-parser
. They are both very lightweight libraries and also very fast</head>
is received. No need to fetch the whole HTML of the website$ yarn add fetch-meta-tags
$ npm install --save fetch-meta-tags
import fetchMeta from 'fetch-meta-tags'
await fetchMeta('https://luisc.xyz')
Outputs:
{
url: 'https://luisc.xyz',
title: 'Luis Cuende',
description: 'Musings about modern philosophy, productivity and unbundling the nation state with crypto/Web3.',
icon: 'https://luisc.xyz/favicon.ico',
image: 'https://luisc.xyz/logo.jpg'
}
https://github.com/mozilla/page-metadata-parser for the meta tag ruleset.s
MIT License
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.