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

@unbrowse/adopt

v0.1.0

Published

Universal drop-in adopter: one command rewrites a repo's imports from a supported library (axios, got, ky, node-fetch, cross-fetch, puppeteer, playwright, firecrawl, stagehand) to the matching Unbrowse drop-in shim, in the source's own syntax, producing a

Readme

@unbrowse/adopt

One command makes any repo a free Unbrowse drop-in — in its own syntax, with the upstream kept as the fallback.

npx @unbrowse/adopt            # dry-run: show every swap as a diff, change nothing
npx @unbrowse/adopt --write    # apply the swaps

It rewrites imports of supported libraries to the matching Unbrowse drop-in shim:

- import axios from 'axios';
+ import axios from '@unbrowse/axios-shim';

- const got = require('got');
+ const got = require('@unbrowse/got-shim');

- import { chromium } from 'playwright';
+ import { chromium } from '@unbrowse/playwright-shim';

Each shim routes a safe GET through Unbrowse's resolved-route cache (free on a hit) and falls through to the original library on a miss — so behaviour is preserved, cost drops on cache hits, and the upstream stays installed as the attributed fallback. Only the import specifier changes; your bindings, options, and package.json are untouched (you choose when to npm i the shims).

Supported libraries

axios · got · ky · node-fetch · cross-fetch · puppeteer · playwright · @mendable/firecrawl-js · @browserbasehq/stagehand

(The native fetch global is covered separately by @unbrowse/client's unfetch, since it has no import line to rewrite.)

Adoption is by consent

This tool exists so a repo's own maintainer can adopt Unbrowse in one step and review the diff — or so a contributor can open a clean, reviewable PR that the maintainer accepts or declines. It never phones home, never edits package.json, and is a pure local transform. We do not open unsolicited dependency PRs; the diff is yours to run, read, and ship.

Generating a PR for your own repo

git checkout -b adopt-unbrowse
npx @unbrowse/adopt --write
git commit -am "perf: route HTTP/browse through Unbrowse drop-ins (free on cache hit, upstream fallback)"
gh pr create --fill

Programmatic use

import { adoptSource, summarize, DROP_IN_MAP } from '@unbrowse/adopt';
const { source, rewrites } = adoptSource(readFileSync('client.ts', 'utf8'));

License

MIT. Mirrors and attributes the public surfaces of the upstream libraries it adopts; each remains its owners' under its own license and stays the fallback.