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

@pluralize/cli

v0.1.0

Published

Command-line interface for the Pluralize platform — manage apps, env files, CORS, and plans without the dashboard.

Readme

@pluralize/cli

Command-line interface for the Pluralize platform. Manage your apps, env files, CORS allowlist, and plans without leaving the terminal.

Install

npm install -g @pluralize/cli

Requires Node.js 20+.

First five minutes

# 1. Authenticate (interactive — password is read from a TTY).
pluralize login

# 2. Create an app. Save the publishable key when it prints — it is shown ONCE.
pluralize app create "My App"

# 3. Write APP_ID and KEY into .env.local in the current directory.
pluralize env pull --key pk_live_abc123...

# 4. Allow your local dev origin.
pluralize cors add http://localhost:3000

# 5. Verify everything is wired up.
pluralize doctor

# 6. Or skip steps 2–5 with the orchestrator:
pluralize init

Common commands

| Command | Notes | |------------------------------------|--------------------------------------------------------| | pluralize login | Reads email + password, stores a JWT (4h TTL). | | pluralize logout | Deletes ~/.pluralize/credentials.json. | | pluralize whoami | Prints email + default app, exits 1 if not logged in. | | pluralize app list | All apps you own. | | pluralize app create <name> | Creates an app + prints the publishable key once. | | pluralize app use <id-or-slug> | Sets the default app for follow-up commands. | | pluralize app regenerate-key | Mints a fresh pk_live_…. The previous key dies. | | pluralize env pull [path] | Upserts NEXT_PUBLIC_PLURALIZE_APP_ID (and …_KEY with --key). | | pluralize cors list/add/remove | Manage the CORS allowlist for the default app. | | pluralize plans list/add/entitle | Manage the app's plans + entitlements. | | pluralize doctor | Health check — credentials, default app, CORS, .env. | | pluralize init | End-to-end setup orchestrator. --yes skips prompts. |

Global flags

  • --app <id> — override the default app for one command.
  • --json — emit machine-readable output to stdout.
  • --verbose — log HTTP request summaries to stderr.

Environment

  • PLURALIZE_BASE_URL — point the CLI at a non-prod server (e.g. http://localhost:3000 for local development).

Where credentials live

~/.pluralize/credentials.json, mode 0600. Contains the JWT (4h TTL), the email, the base URL, and the default app id. pluralize logout deletes the file.

Development (this repo)

cd packages/cli
npx tsup              # builds dist/bin.js
node dist/bin.js --help
npx vitest run        # unit tests