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

@takuhon/vercel

v1.4.3

Published

Vercel adapter for takuhon — read-only public profile page, API, and JSON-LD on the Vercel runtime

Readme

@takuhon/vercel

Read-only Vercel adapter for takuhon.

It publishes a profile on Vercel by mounting the framework-agnostic public app from @takuhon/api on the Vercel runtime: the server-rendered profile page (with embedded Schema.org JSON-LD), the public read API, and the canonical takuhon.json. There is no database, admin UI, or auth — you edit takuhon.json in Git, push, and Vercel redeploys.

What it serves

  • GET / and GET /<locale>/ — the server-rendered profile page with JSON-LD
  • GET /api/profile · GET /api/jsonld · GET /api/schema
  • GET /takuhon.json · GET /.well-known/takuhon.json
  • GET /health

The same public privacy filter as every other surface is applied, so settings.publicVisibility and the field-level controls behave identically to a Cloudflare deployment.

Not included (use the Cloudflare adapter for these)

Image uploads (/assets/*), the MCP endpoint (/mcp), and the activity badge / sync (/activity.svg, cron) are Cloudflare-only. On Vercel, GET /api/activity answers 404 and the discovery document omits mcp.

Install

npm install @takuhon/vercel

Quick start (Next.js App Router)

Add a catch-all route that mounts the app, and bundle your takuhon.json:

// app/[[...route]]/route.ts
import { createTakuhonVercelApp, BundledTakuhonStorage } from '@takuhon/vercel';
import { handle } from 'hono/vercel';
import profile from '../../takuhon.json';

const app = createTakuhonVercelApp({ storage: new BundledTakuhonStorage(profile) });

export const GET = handle(app);
// vercel.json
{ "framework": "nextjs" }

That's it — vercel deploy publishes the profile. To change it, edit takuhon.json, commit, and push.

Data source

The canonical takuhon.json can come from two places:

  • Bundled (default). Import the file and pass it to BundledTakuhonStorage, as above. The document is validated once at startup, so an invalid profile fails fast.
  • Fetched from a URL. Set TAKUHON_DATA_URL and use UrlTakuhonStorage; the profile is fetched once per serverless instance and cached.
import { createTakuhonVercelApp, UrlTakuhonStorage } from '@takuhon/vercel';
import { handle } from 'hono/vercel';

const app = createTakuhonVercelApp({
  storage: new UrlTakuhonStorage(process.env.TAKUHON_DATA_URL!),
});

export const GET = handle(app);

API

  • createTakuhonVercelApp({ storage, fallback? }) — returns a Hono app to mount with hono/vercel's handle.
  • BundledTakuhonStorage(profile) — read-only storage over an in-memory profile.
  • UrlTakuhonStorage(url, { fetch? }) — read-only storage fetched once from url.

License

Apache-2.0. See LICENSE and NOTICE.