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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@wirechunk/cli

v0.1.1

Published

The Wirechunk CLI (`wirechunk`) is the official command-line tool for Wirechunk. It provides essential utilities for platform management and is the primary tool for developing Wirechunk extensions.

Readme

Wirechunk CLI

The Wirechunk CLI (wirechunk) is the official command-line tool for Wirechunk. It provides essential utilities for platform management and is the primary tool for developing Wirechunk extensions.

Installation

npm install -D @wirechunk/cli

Getting Started with Extension Development

The CLI simplifies the extension development workflow by allowing you to run a local instance of the Wirechunk core platform that loads your extension code directly.

Prerequisites

  • Node.js: Must be version 24+.
  • Docker: Required for running the core development server.

Development Workflow

  1. Configure Environment: Ensure you have a .env file with the necessary configuration, including a core database URL (e.g., WIRECHUNK_CORE_DATABASE_URL). You can override the core dev server image with WIRECHUNK_CORE_DEV_SERVER_IMAGE; otherwise the CLI uses the latest.

  2. Start the Core Server: Run the development server which spins up a Docker container with the Wirechunk platform. It mounts your current working directory inside the container, allowing hot reload for frontend code as you develop.

    wirechunk ext-dev start-core
    • Adds -d to run in detached mode.
    • Exposes port 8080 (Web) and 9001 (Vite).
  3. Create Extension: Register your extension with the platform to generate an ID and configure your environment. If your extension.json enables a database, this command will set up the connection details automatically.

    wirechunk create-extension --dev

Key Commands

Extension Management

  • wirechunk create-extension: Register a new extension on the platform.
  • wirechunk create-extension-version: Publish a new version of an extension. Uploads configuration and code.

Platform & User Management

  • wirechunk bootstrap: Initialize a new platform.
  • wirechunk create-user: Create a new user account. Useful for setting up test users or initial admins.
  • wirechunk edit-admin: Grant or revoke admin privileges for a user on a platform.

Development Utilities (ext-dev)

  • wirechunk ext-dev start-core: Starts the local Docker-based development server.
  • wirechunk ext-dev init-db: Initializes a development database for an extension.
  • wirechunk ext-dev get-db-url: writes DATABASE_URL to .env.local (or .env.<env-mode>.local) with the extension’s development database connection string.

Utility

  • wirechunk version: Prints the CLI version.

Configuration

The CLI automatically loads environment variables from .env and .env.local files in your current directory.

You can specify a custom environment mode using the --env-mode flag:

wirechunk --env-mode test create-user ...

This will load variables from .env.test and .env.test.local in addition to the standard files.