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

@orizm/cli

v3.0.0

Published

Orizm CLI

Readme

@orizm/cli

The command-line interface for Orizm. It talks to the Developer API using either an OAuth2 Bearer token or a Developer Key, covering everything from pushing schema definitions and generating SDK types to managing projects, keys, users, content, buckets, and webhooks. Commands follow a noun-first layout: orizm <noun> <verb>.

Installation

npm install -g @orizm/cli
# or as a devDependency
npm install -D @orizm/cli

The bin name is orizm.

Quick start

orizm auth login          # Log in via OAuth2 (opens your browser)
orizm link                # Pick an organization and project, writing .orizm/project.json
orizm schema push         # Push orizm.config.ts to the server
orizm codegen cms         # Generate CMS SDK types

Authentication

OAuth2 login (Authorization Code + PKCE) is the default. Tokens are stored in ~/.config/orizm/auth.json (%APPDATA%/orizm/auth.json on Windows).

orizm auth login
orizm auth status
orizm auth logout

For CI and automation, use API-key authentication. Automatic .env loading has been removed in v3. Pass ORIZM_API_KEY explicitly as an environment variable.

- run: orizm schema push --yes
  env:
    ORIZM_API_KEY: ${{ secrets.ORIZM_API_KEY }}

To keep using a .env file locally, wrap the command with dotenv-cli or direnv.

dotenv -e .env -- orizm schema push

When both an OAuth2 token and ORIZM_API_KEY are present, the OAuth2 token wins.

Environment variables

| Variable | Purpose | Default | | ------------------------ | -------------------------------------------------------------------------------------------------- | ------------------------ | | ORIZM_BASE_URL | Developer API base URL (switch between local / staging / production) | https://app.orizm.com | | ORIZM_OAUTH_ISSUER_URL | OAuth2 issuer URL. Set this only when the auth server runs on a different host/port (e.g. locally) | same as ORIZM_BASE_URL | | ORIZM_PROJECT | Project context (lower priority than --project and .orizm/project.json) | (unset) | | ORIZM_API_KEY | Developer Key auth, used as a fallback when no OAuth2 token is present | (unset) | | ORIZM_DEBUG | Enables debug logging (same as --debug) | (unset) |

Project context

The target project is resolved in this order:

  1. --project <name> flag
  2. ORIZM_PROJECT environment variable
  3. projectName in .orizm/project.json (created by orizm link)

orizm link interactively selects an organization and project, writes .orizm/project.json, and on first use offers to add .orizm/ to .gitignore.

Commands

Commands are noun-first: orizm <noun> <verb>. The available nouns are auth, link, org, project, schema, codegen, key, project-user, content, bucket, and webhook.

Global flags available on every command:

  • --json — emit structured JSON
  • --debug — write debug logs to stderr
  • --no-color — disable colored output (also respects NO_COLOR)

See the Orizm CLI reference for the full list.

Schema definition (@orizm/cli/config)

Write orizm.config.ts with defineConfig:

import { defineConfig } from "@orizm/cli/config";

export default defineConfig({
  tables: {
    /* ... */
  },
});

Migrating from v2

v3 contains breaking changes: the move to OAuth2 authentication, removal of automatic .env loading, project context via .orizm/project.json, and renamed commands. See the v2 → v3 migration guide.

For developers

Build the npm package

pnpm run build