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

@crossberryweb/mozhi

v3.7.1

Published

Mozhi programming language interpreter — native web, JSON, fs, math, SQLite, templates — with the built-in package manager (`mz install`). Install once, get both commands: `mozhi` and the short alias `mz` (identical behavior).

Readme

@crossberryweb/mozhi — official npm distribution

The Mozhi programming language, delivered as pre-built native binaries through npm.

Installing this package gives you two equivalent commands:

mozhi run app.mz     # canonical command
mz run app.mz        # short alias — same binary, identical behavior

Both are installed by npm from the same launcher, so mz and mozhi are always in sync: same version, same flags, same exit codes.

Requirements

  • Node.js ≥ 22 — any currently supported release line: 22.x (Maintenance LTS), 24.x (LTS) or 26.x (Current). Node.js 14, 16, 18 and 20 have reached end of life and are no longer supported; on those lines the launcher still works (it only uses child_process, fs and path) but prints a one-time end-of-life notice. The interpreter itself is a fully static native binary — Node.js only runs the tiny launcher shim.

Package manager (v3.3.0)

The launcher now includes a package manager — no interpreter required:

mz install strings                  # from the Mozhi registry (version-controlled JSON)
mz install [email protected]          # a specific release tag
mz install @user/repo               # from any Git repo's tagged releases
mz install @user/[email protected]        # ... pinned to a tag
mz install ./tool.mz.pkg.zip        # manual/offline install from a package zip
mz install ./mytool                 # from a local package directory
mz list                             # installed packages + origins
mz search web                       # search the registry
mz uninstall strings

Packages are verified before every install (package.toml manifest + entry module, traversal-safe extraction) and resolve automatically at import:

import strings
echo(strings.reverse("Mozhi"))

Create your own package — complete with a GitHub Actions workflow that attaches <name>.mz.pkg.zip to the release whenever you push a v* tag:

mz pkg new mytool

Full guide: https://crossberry-in.github.io/mozhi-doc/packages.html

What you get (v3.3.0)

  • Precise error diagnostics: every error carries a stable code (LEX001, PARSE002, NAME001, ...), a caret span under the exact token, a suggested fix, and a link to its documentation page.
  • Free AI Diagnosis (opt-in for scripts, automatic in interactive terminals): an anonymous, keyless service explains the error — no API key, no account, no payment. Disable with --no-ai or MOZHI_NO_AI=1. Failure of the service never affects the local diagnosis or exit code.
  • Machine-readable output: mozhi --json run app.mz emits mozhi.diagnostics.v1 JSON to stderr (codes, spans, docs URLs).
  • Native modules: web (HTTP server), json, fs (sandboxed), db (SQLite), math, template, http client.

Usage

mozhi run app.mz     # run a script (plain: mozhi app.mz)
mz run app.mz        # identical
mozhi new myapp      # scaffold a project (web | minimal)
mozhi dev            # auto-reload dev server
mozhi test tests/    # run *.test.mz suites
mozhi lint src/      # parse checks with error codes

Platform support

Bundled binaries (fully static musl builds, SQLite vendored — work on glibc distros, Alpine, Termux/Noxs):

  • linux-x86_64
  • linux-arm64

macOS / Windows: use the installer curl -fsSL https://github.com/crossberry-in/mozhi-doc/raw/main/install.sh | bash (it installs mozhi and the mz alias too).

Diagnostics & AI Diagnosis

error[LEX001]: illegal character in source
  --> app.mz:1:14
 1 | echo(string(5 ^ 3))
   |              ^
reason: the character '^' is not part of the Mozhi language
help:   exponentiation is written with '**' in Mozhi, e.g. 5 ** 3
docs:   https://crossberry-in.github.io/mozhi-doc/errors/LEX001

Every docs: URL is a real page in the official error reference. See mozhi help for all output flags (--json, --no-color, --verbose, --no-ai, --ai).

Links

  • Documentation: https://crossberry-in.github.io/mozhi-doc/
  • Error code reference: https://crossberry-in.github.io/mozhi-doc/errors/
  • Source/issues: https://github.com/crossberry-in/mozhi