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

@kolkrabbi/kol-scrape

v0.1.0

Published

All-purpose presence/press scraper CLI — fetch a URL, emit a structured scrape record (title, og/twitter meta, socials, feeds, favicons). Subject-agnostic; brand coupling lives in adapters, not here. Zero dependencies.

Downloads

82

Readme

@kolkrabbi/kol-scrape

All-purpose presence/press scraper — fetch a URL, emit a structured scrape record. Subject-agnostic by design: brand coupling (mapping records onto a brand manifest's presence/press/timeline fields) lives in adapters, never in this package. Zero dependencies, Node ≥ 18.

npx @kolkrabbi/kol-scrape kolkrabbi.io
kol-scrape https://kolkrabbi.io https://grapevine.is --out records.json
kol-scrape catalog https://www.another-creation.com/shop-now --download ./assets
import { scrape, scrapeMany, extract } from '@kolkrabbi/kol-scrape'
const record = await scrape('https://kolkrabbi.io')

Record v1

{
  record: 'kol-scrape/v1',
  url, finalUrl, fetchedAt, status,
  title, h1, description, canonical, lang,
  og: { title, image, … },        // og:* meta
  twitter: { card, … },           // twitter:* meta
  favicons: [urls],
  feeds: [{ href, type, title }], // RSS/Atom/JSON alternates
  profiles: { instagram: url, youtube: url, … },  // social links found on the page
  links: { internal, external },  // anchor counts
}

extract(html, ctx) is pure (no fetching) — feed it saved HTML for offline runs. scrapeMany never throws; failures come back as { url, error } records.

Catalog mode (Squarespace)

kol-scrape catalog <url> uses Squarespace's ?format=json trick — any collection/shop page serves its structured catalog directly, no HTML parsing (ported from the another-creation scraper). Record kol-scrape/catalog-v1: { collection, count, items: [{ title, price, currency, image, url }] }. --download <dir> saves each item's high-res image, named by sanitized title.

Scope & ceilings

  • Regex extraction over raw HTML — right for meta/link/anchor mining; JS-rendered pages need a browser pass (Playwright) if a source ever demands it.
  • Press/mention search across outlets is a judgment-heavy task: drive this CLI from a skill/agent that curates its output. The CLI stays mechanical.