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

@wizestudio/cli

v0.1.2

Published

The WizeStudio command line: publish widget manifests, scaffold widgets, diagnose a setup.

Readme

@wizestudio/cli

The wize command line: publish widget manifests to the CMS, scaffold a widget, diagnose a setup.

Where this sits

WizeStudio is a visual page builder for headless CMS platforms. A widget is an ordinary React component plus a manifest; the components stay in your application and only the manifests ever reach the editor.

This is the tool that sends them. Build-time registration is the production path: with manifests stored in the CMS, the editor can populate its widget panel even when your frontend is unreachable, and what an author sees is pinned to a deployed version rather than to whatever happens to be running on someone's laptop.

Install

npm install --save-dev @wizestudio/cli

Node 20.11 or later.

Usage

npx wize init                    # create wize.config.json
npx wize push [--dry-run]        # publish widget manifests to the CMS
npx wize scaffold acme/pricing   # create a widget file
npx wize doctor                  # diagnose the current setup

Configuration

wize.config.json, found by walking upward from the working directory. JSON rather than a JS module so the CLI can read it without executing project code.

{
  "manifests": "./src/wizestudio/widgets.ts",
  "cms": "http://localhost:1337",
  "tokenEnv": "WIZE_CMS_TOKEN",
  "canvasUrl": "http://localhost:3000/wizestudio/canvas"
}

manifests points at a module exporting manifests — or a default export that is an array. tokenEnv names an environment variable, never a token: config files get committed, and a credential in one has a long tail. push reads the token from that variable and PUTs the bundle to <cms>/wizestudio/manifests.

doctor checks the things that actually break in practice — config present, manifests loadable and valid, CMS reachable, canvas route responding, token exported — and prints what to do about each.

Using it as a library

Every command is a plain function over an injectable environment, so a build pipeline can publish manifests without shelling out, and the CLI is testable without spawning a process or touching a network.

import { defaultEnvironment, push } from '@wizestudio/cli';

const code = await push(defaultEnvironment(), { dryRun: true });

| Export | Purpose | |---|---| | push, init, scaffold, doctor | The four commands, as functions returning an exit code | | defaultEnvironment, CommandEnvironment | The injectable side effects: cwd, logging, fetch, module import | | buildBundle, BundleResult, BundleIssue, BundleError | Validates and hashes a manifest set | | loadConfig, resolveToken, WizeConfig, ConfigError | Configuration loading |

Licence

MIT.

WizeStudio is open core. This package sits in the build pipeline that produces a customer's live site, so it is MIT deliberately and contains no licensing code of any kind — as do schema, core, canvas-bridge, renderer-react and renderer-next. That is what makes "a lapsed subscription cannot break your live site" a property of the build rather than a promise. The authoring side — editor, plugin-strapi, components, cms-strapi — is commercial.


wizestudio.wizeb.com