npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

fetchary

v2.2.0

Published

Extract what matters. Semantic web extraction for Node.js and the command line, with optional browser login.

Downloads

1,156

Readme

Fetchary 👁️

Fetchary is a command-line tool for extracting information from web pages. It helps you collect text, links, contact details and public social metrics without manually searching each page. Choose what you need and get results ready to copy, save or use in another tool.

Start with a page URL and request a full analysis or a specific kind of information. You can turn a sitemap into a URL list, find contact details on a company page, or check the public metrics of a social profile. Save the results when you need to share them or continue your research later.

What it does

  • Extract readable text, HTML or the contents of a selected page element.
  • Find images, videos, favicons and profile pictures.
  • Discover page links, sitemap URLs and downloadable documents.
  • Collect email addresses, phone numbers and social profile links.
  • Read available follower counts, post totals and engagement metrics.
  • Inspect page metadata, structured data and public analytics or advertising tags.
  • Read product prices and keep the evidence when page sources disagree.
  • Combine eleven kinds of extraction in one page analysis report.
  • Reuse signed-in sessions, save output and revisit recent commands.

See the social platform support matrix for available metrics and platform limitations.

Install

Use Fetchary on macOS, Linux or Windows with Node.js 26 or newer. Browser rendering and interactive sign-in also require the browser normally downloaded during installation. If it is missing, Fetchary prints the setup command to run; see browser setup.

Homebrew

brew install oliverjessner/tap/fetchary

npm

npm install --global fetchary

CLI

Extract specific information or analyse a page from your terminal:

fetchary analyse https://oliverjessner.at
fetchary extract text https://oliverjessner.at
fetchary extract links https://oliverjessner.at/sitemap.xml --list

See the CLI documentation for all commands and options.

Library

Use Fetchary in your own Node.js scripts to extract page content:

npm install fetchary
const { extractText } = require('fetchary');

async function main() {
    const result = await extractText('https://example.com');
    console.log(result.data);
}

main().catch(console.error);

See the library documentation for all methods and options.

Read pages and discover assets

Read a page as plain text, keep its HTML or select a specific element. Find image and video URLs, embedded players and linked documents, or save a favicon's original image with --binary.

When browser rendering finds a cookie banner, Fetchary tries to reject optional cookies before reading the page. You can choose --consent accept explicitly or disable this interaction with --consent off. See consent handling for the available controls and limits.

Find contacts and social metrics

Collect email addresses, phone numbers and social profile links from a page. On supported social pages, read available follower counts, post totals and engagement metrics; unavailable values include a reason instead of becoming zero.

Check a product price

fetchary extract price https://example.com/product --json

If a page declares one price in its structured data and shows another in its product content, Fetchary returns both prices and where it found each one. A conflict leaves the selected price empty so your own tool can decide how to handle it. See the price reference for examples.

Inspect a page in one report

Use analyse to gather contacts, links, images, documents, metadata, structured data, product prices, a favicon and public tracking integrations from one page. Tracking IDs can help investigate connections between websites, but do not prove common ownership.

Reuse signed-in sessions

Sign in through a browser with fetchary login and reuse the saved session for later extraction. You can also supply an exported cookie file or, on macOS, read the relevant cookies from Chrome; see signed-in sessions.

Save results and revisit commands

Add --filepath . to save output in the current directory, or choose a filename. Use --list for values one per line, --json for structured results and fetchary history to revisit your last 100 commands.

Who it is for

  • Journalists and researchers gathering information from public web pages.
  • Analysts checking company contacts, social profiles and available metrics.
  • Content creators collecting image, video and document links.
  • People automating repeated web research from the terminal.

Changelog

See the changelog for release notes and changes.

License

MIT