
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Convert any URL to Markdown, Text, HTML, or JSON. A lightweight utility for extracting web content.
Convert any URL to Markdown, Text, HTML, or JSON. Zero dependencies, TypeScript-first.
Try the full web version at urltoany.com — with 12+ conversion formats, AI summarization, SEO analysis, and more.
npm install urltoany
import { toMarkdown, toText, toHTML, toJSON } from 'urltoany'
// Get page content as Markdown
const markdown = await toMarkdown('https://example.com')
// Get plain text
const text = await toText('https://example.com')
// Get cleaned HTML
const html = await toHTML('https://example.com')
// Get structured JSON (title, description, content, etc.)
const json = await toJSON('https://example.com')
All functions accept an optional second argument:
const markdown = await toMarkdown('https://example.com', {
timeout: 60000, // request timeout in ms (default: 30000)
headers: { // custom headers
'Accept-Language': 'en-US',
},
})
toMarkdown(url, options?): Promise<string>Extracts the main content from a URL and returns it as Markdown.
toText(url, options?): Promise<string>Extracts plain text content from a URL, stripped of all formatting.
toHTML(url, options?): Promise<string>Returns the cleaned HTML content from a URL.
toJSON(url, options?): Promise<JsonResult>Returns structured data including title, description, URL, and content.
interface JsonResult {
title: string
description: string
url: string
content: string
[key: string]: unknown
}
fetch)Need more? urltoany.com offers:
MIT
FAQs
Convert any URL to Markdown, Text, HTML, or JSON. A lightweight utility for extracting web content.
The npm package urltoany receives a total of 1 weekly downloads. As such, urltoany popularity was classified as not popular.
We found that urltoany demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.