
Product
Introducing Socket MCP for Claude Desktop
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
url-meta-scraper
Advanced tools
Get meta data from any url (http/https) and support group by property
Get meta data from any url (http/https) and support group by property
npm install url-meta-scraper --save
yarn add url-meta-scraper --save
import { parser } from 'url-meta-scraper';
const metaData = await parser(url)
import { parser } from 'url-meta-scraper';
const opts = {
maxRedirects: 10,
timeout: 10000,
userAgent: 'your-agent',
fromEmail: 'your-mail@example.com',
}
const metaData = await parser(url, opts)
// The url to get meta data
url: 'string',
Package's default options are the values below, you can override it:
{
// The package will follow a maximum of 10 redirects
maxRedirects: 10,
// Timeout of a request, default is 10 seconds:
timeout: 10000,
// The user agent and email that will make url request:
userAgent: 'Metadata',
fromEmail: 'metadata@example.com',
}
Returns a promise that gets resolved with the following url metadata and group by properties tag if the url request response returns successfully.
{
// This is includes meta data of the meta without property
meta: {
title: 'title',
description: 'description',
...
},
// This is includes meta data of the meta with property
og: {
title: 'title',
description: 'description',
...
},
...
}
FAQs
Get meta data from any url (http/https) and support group by property
The npm package url-meta-scraper receives a total of 488 weekly downloads. As such, url-meta-scraper popularity was classified as not popular.
We found that url-meta-scraper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.