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

oxbox

v0.1.0

Published

OXC parser and transformer packaged as a portable wasm module

Readme

oxbox

Usage

Same API as oxc-transform and oxc-parser (parse, parseSync), backed by an embedded wasm binary built from oxc sources (no native binaries, no runtime dependencies):

import { parseSync, transformSync } from "oxbox";

const { code } = transformSync("input.ts", "const a: number = 1");
const { program } = parseSync("input.ts", "const a: number = 1");

The wasm is embedded in the JS bundle (deflate-raw + base93) and decoded, decompressed and instantiated lazily on first call. Use await init() to warm it up ahead of time (required before calling sync APIs in browsers).

Async APIs run on worker threads when SharedArrayBuffer is available (in browsers the page must be cross-origin isolated); otherwise oxbox runs single-threaded and async APIs run on the calling thread.

Benchmarks

Compared with the official oxc-transform / oxc-parser wasm and native (napi) bindings.

Install size

Install size: oxbox vs oxc (wasm) vs oxc (napi)

oxbox ships transform and parser as a single wasm; oxc ships them as two packages (and the wasm bindings share the emnapi / napi-rs runtime).

Performance

Benchmarks: oxbox vs oxc (wasm) vs oxc (napi)

Development

  • Clone this repository
  • Install latest LTS version of Node.js
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Run the browser playground using pnpm dev
  • Run tests using pnpm vitest
  • Run benchmarks against oxc-transform / oxc-parser (napi and wasm) using pnpm bench [filter] (unfiltered runs save bench/results.json; pnpm bench:report re-renders bench/results.svg from it) and install sizes using pnpm bench:size (renders bench/size.svg)
  • Rebuild the wasm from oxc sources (committed as src/_vendor/wasm.ts) using pnpm vendor (requires Rust and rustup target add wasm32-wasip1-threads)

License

Published under the MIT license 💛.

Bundles oxc (MIT, VoidZero Inc. & Contributors). The N-API / WASI host (src/napi.ts) is derived from emnapi (MIT, Toyobayashi) and the napi-rs wasm runtime (MIT, LongYinan). See LICENSE for full license texts.