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

spawnpack

v0.1.3

Published

Minecraft Bedrock addon project generator — scaffold your BP+RP in seconds

Readme

Spawnpack

Spawnpack is a Bun-powered CLI for scaffolding Minecraft Bedrock add-on projects with a guided terminal wizard.

It generates BP/RP structure, optional Script API setup, optional rgl integration, marketplace-ready namespaced content folders, and optional AI tooling files.

Features

  • Inline wizard built with @clack/prompts
  • Behavior Pack and Resource Pack scaffold
  • Scripting options: None, JavaScript, TypeScript
  • Optional packages:
    • @minecraft/server
    • @minecraft/server-ui
    • @minecraft/vanilla-data
    • @minecraft/math
  • Optional rgl setup for faster Bedrock builds
  • Optional marketplace add-on structure using nested namespace/projectId folders in BP/RP content directories
  • Optional Rockide recommendation during setup
  • Optional AI setup:
    • CLAUDE.md
    • .mcp.json

Runtime Requirement

Spawnpack is published on npm, but it runs on Bun.

Install Bun first:

  • https://bun.sh/

Install

Global install with Bun

bun add -g spawnpack

Global install with npm

npm i -g spawnpack

One-off run with Bun

bunx spawnpack

Run locally

bun install
bun run src/index.ts

Usage

spawnpack

Show the installed version:

spawnpack -v
spawnpack --version

The wizard walks through:

  1. Project name and author
  2. Marketplace add-on structure toggle
  3. Destination folder
  4. Script API setup
  5. Publisher ID and Project ID when needed
  6. Script packages
  7. rgl toggle
  8. Rockide toggle
  9. AI setup toggle
  10. Review screen and generation

Generated project options

Depending on your choices, Spawnpack can generate:

  • packs/BP
  • packs/RP
  • data/scripts/main.ts
  • packs/BP/scripts/<publisher-id>/<project-id>/main.js
  • package.json
  • tsconfig.json
  • dprint.json
  • config.json for rgl
  • CLAUDE.md
  • .mcp.json

Marketplace structure mode

When enabled, Spawnpack creates marketplace-style nested folders under many BP/RP content directories.

Example:

packs/BP/animation_controllers/publisher/sample/
packs/BP/entities/publisher/sample/
packs/RP/animation_controllers/publisher/sample/
packs/RP/textures/items/publisher/sample/

This helps multiple add-ons coexist more safely in the same world by reducing content path collisions.

Script dependency versions

Spawnpack fetches the latest stable npm versions for:

  • @minecraft/server
  • @minecraft/server-ui
  • @minecraft/vanilla-data
  • @minecraft/math

If version lookup fails, it falls back to baked stable defaults.

Development

bun install
bun run typecheck
bun run build

Publish notes

The npm package is configured to publish only:

  • dist/spawnpack.js
  • templates/CLAUDE.md
  • README.md
  • LICENSE
  • package.json

Internal planning files, Serena state, and local AI/project notes are excluded from the published tarball.