
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
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 934 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.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.