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

kubun

v0.4.4

Published

Kubun CLI

Readme

kubun

Kubun CLI

oclif Version Downloads/week

Usage

$ npm install -g kubun
$ kubun COMMAND
running command...
$ kubun (--version)
kubun/0.4.4 darwin-arm64 node-v24.13.0
$ kubun --help [COMMAND]
USAGE
  $ kubun COMMAND
...

Commands

kubun account generate

Generate a random private key to use as account signer

USAGE
  $ kubun account generate

DESCRIPTION
  Generate a random private key to use as account signer

kubun account id

Display the DID of an account given its private key

USAGE
  $ kubun account id -k <value>

FLAGS
  -k, --privateKey=<value>  (required) [env: KUBUN_PRIVATE_KEY] base64-encoded private key

DESCRIPTION
  Display the DID of an account given its private key

kubun graph deploy

Deploy a documents model graph

USAGE
  $ kubun graph deploy -c <value>... -k <value> [--id <value>] [-n <value>] [--url <value>]

FLAGS
  -c, --cluster=<value>...  (required) path of the JSON file of the cluster
  -k, --privateKey=<value>  (required) [env: KUBUN_PRIVATE_KEY] base64-encoded private key
  -n, --name=<value>        graph name
      --id=<value>          graph ID
      --url=<value>         Kubun server URL

DESCRIPTION
  Deploy a documents model graph

kubun graph mutate ID TEXT

Execute a GraphQL mutation on a graph

USAGE
  $ kubun graph mutate ID TEXT -k <value> [--url <value>] [--variables <value>]

ARGUMENTS
  ID    graph ID
  TEXT  mutation text

FLAGS
  -k, --privateKey=<value>  (required) [env: KUBUN_PRIVATE_KEY] base64-encoded private key
      --url=<value>         Kubun server URL
      --variables=<value>   query variables as JSON string

DESCRIPTION
  Execute a GraphQL mutation on a graph

kubun graph query ID TEXT

Execute a GraphQL query on a graph

USAGE
  $ kubun graph query ID TEXT -k <value> [--url <value>] [--variables <value>]

ARGUMENTS
  ID    graph ID
  TEXT  query text

FLAGS
  -k, --privateKey=<value>  (required) [env: KUBUN_PRIVATE_KEY] base64-encoded private key
      --url=<value>         Kubun server URL
      --variables=<value>   query variables as JSON string

DESCRIPTION
  Execute a GraphQL query on a graph

kubun graphql schema

Create a GraphQL schema from clusters of document models

USAGE
  $ kubun graphql schema -c <value>... [-o <value>]

FLAGS
  -c, --cluster=<value>...  (required) path of the JSON file of the cluster
  -o, --output=<value>      output file for the GraphQL schema

DESCRIPTION
  Create a GraphQL schema from clusters of document models

kubun help [COMMAND]

Display help for kubun.

USAGE
  $ kubun help [COMMAND...] [-n]

ARGUMENTS
  [COMMAND...]  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for kubun.

See code: @oclif/plugin-help

kubun mcp

Start an MCP server for Kubun

USAGE
  $ kubun mcp [-c <value> | -d <value>] [-k <value>]

FLAGS
  -c, --connect=<value>     URL of an existing Kubun HTTP server to connect to
  -d, --db=<value>          SQLite database path or PostgreSQL URL
  -k, --privateKey=<value>  [env: KUBUN_PRIVATE_KEY] base64-encoded private key

DESCRIPTION
  Start an MCP server for Kubun

kubun model cluster

Create a documents cluster model

USAGE
  $ kubun model cluster -m <value>... [-o <value>]

FLAGS
  -m, --model=<value>...  (required) document model as JSON string
  -o, --output=<value>    output file for the cluster

DESCRIPTION
  Create a documents cluster model

kubun model create NAME SCHEMA

Create a document model

USAGE
  $ kubun model create NAME SCHEMA [-b default|interface|unique] [-c] [-o <value>] [-u <value>...]

ARGUMENTS
  NAME    document model name
  SCHEMA  document schema as JSON string

FLAGS
  -b, --behavior=<option>       [default: default] behavior of the document
                                <options: default|interface|unique>
  -c, --cluster                 create a cluster model instead of a document model
  -o, --output=<value>          output file
  -u, --uniqueField=<value>...  unique field of the document when behavior is set to "unique"

DESCRIPTION
  Create a document model

kubun serve

Start a local Kubun server

USAGE
  $ kubun serve [-a <value>] [--db <value>] [-l trace|debug|info|warning|error|fatal] [-p <value>] [-k
    <value> | --id <value>]

FLAGS
  -a, --allowedOrigin=<value>  [default: *, env: KUBUN_ALLOWED_ORIGIN] allowed HTTP origin
  -k, --privateKey=<value>     [env: KUBUN_PRIVATE_KEY] base64-encoded private key
  -l, --logLevel=<option>      [default: warning] log level
                               <options: trace|debug|info|warning|error|fatal>
  -p, --port=<value>           port to listen on
      --db=<value>             path to the local SQLite database
      --id=<value>             server ID

DESCRIPTION
  Start a local Kubun server