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/cli

v1.4.3

Published

create-takuhon scaffolding plus dev/validate/sync/export/migrate/restore commands

Readme

@takuhon/cli

The Takuhon command-line interface: create-takuhon project scaffolding and the takuhon command for working with a local takuhon.json — validate, migrate, restore, export, import, build, and a local preview server.

Installation

Run without installing, via npx:

npx create-takuhon my-profile      # scaffold a new project
npx takuhon validate               # run a command in an existing project

Or install the takuhon command globally / as a dev dependency:

npm install -g takuhon
# or, inside a project:
pnpm add -D @takuhon/cli

The bare-name takuhon package is a thin redirect to @takuhon/cli, so npx takuhon … and a global install expose the same takuhon command. ESM-only; targets Node.js 22+.

Scaffolding a new project

npx create-takuhon my-profile
npx create-takuhon my-profile --license CC-BY-4.0   # non-interactive license

create-takuhon writes a Cloudflare Worker deployment — a wrangler.toml, a starter takuhon.json, a tsconfig.json, and a Worker entry that composes Takuhon via @takuhon/cloudflare. Run create-takuhon --help for options.

Commands

Each command operates on a local takuhon.json (default ./takuhon.json) and reuses @takuhon/core. Pure-data commands return an exit code (0 success, 1 invalid profile, 2 operational error).

| Command | Description | | -------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | | takuhon validate [path] | Validate a takuhon.json against the schema, reporting each failure as a JSON Pointer. | | takuhon migrate [path] [--to <v>] | Forward-migrate to a newer schema version (default: latest). Backs up first; supports --out, --dry-run. | | takuhon restore --from <backup> | Restore a profile from a backup (prompts before overwriting; pass --yes to skip). | | takuhon export [path] [--output <f>] | Serialise a takuhon.json to stdout (or to --output). | | takuhon import <file> [path] | Import an exported profile, migrating it to the current schema version. Backs up first. | | takuhon build [path] [--output <d>] | Render the profile into a static site — one HTML page per locale with build-time JSON-LD. --base-url adds absolute canonical/hreflang links. | | takuhon dev [path] [--port <n>] | Serve the profile as a local static preview, re-rendered on each request (default port 4321, loopback only). --base-url adds canonical/hreflang links. | | takuhon mcp [path] | Serve the profile over the Model Context Protocol on stdio (read-only), so an MCP client such as Claude Desktop can read it. Re-reads the file per request. |

Run takuhon --help, or takuhon <command> --help for a command's full usage. The sync subcommand (mirror a local takuhon.json to a remote instance) is planned for a future release.

License

Apache-2.0. See LICENSE and NOTICE at the repository root.