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

@voxelyn/cli

v0.1.1

Published

Voxelyn CLI - scaffold games and demos

Readme

@voxelyn/cli

Voxelyn CLI for scaffolding small game projects and demos.

Install

npm i -g @voxelyn/cli
# or
pnpm add -g @voxelyn/cli

Usage

voxelyn create my-game vanilla
voxelyn create my-game --no-install
voxelyn dev
voxelyn build
voxelyn preview
voxelyn deploy --build --channel=alpha
voxelyn generate texture --prompt "stone"
voxelyn generate scenario --prompt "vast volcanic island" --size 256 --depth 64 --scale 0.5
voxelyn generate object --prompt "modular sci-fi crate" --scale 1.25
voxelyn plugin list

Commands

  • create <name> [template]: scaffold a project
  • dev / serve: start dev server (runs pm run dev)
  • build: production build (runs pm run build)
  • preview: preview build (runs pm run preview)
  • deploy: deploy build to itch.io using butler
  • generate: generate assets/scenarios (AI or procedural)
  • plugin: manage CLI plugins

Options

  • --name <dir>: project folder name
  • --template <name>: one of vanilla, react, svelte
  • --install: force dependency install after create
  • --no-install: skip dependency install after create
  • --list: list available templates
  • --yes: non-interactive, accept defaults
  • --force: allow writing into non-empty folder
  • --pm npm|pnpm|yarn|bun: select package manager
  • --git: run git init if available
  • --dry-run: print actions without writing
  • --verbose: verbose logging
  • --quiet: suppress non-error output
  • --no-color: disable ANSI colors
  • --version: show CLI version

Deploy options:

  • --dir <path>: directory to deploy (default dist)
  • --channel <name>: itch.io channel (default alpha)
  • --build: run build before deploy

Generate options:

  • --prompt <text>: prompt for generation
  • --provider <auto|gemini|openai|anthropic|groq|ollama|copilot>: provider selection (default: auto)
  • --model <id>: explicit model id
  • --seed <int>: deterministic seed
  • --size <N|WxH>: scenario/texture size
  • --detail <low|medium|high>: object detail level
  • --max-voxels <N>: object voxel budget (aliases: --voxels, --qtd)
  • --quality <fast|balanced|high|ultra>: object quality profile (default: ultra)
  • --attempts <N>: object generation attempts override
  • --min-score <0..1>: quality target override
  • --model-escalation <on|off>: model/temperature escalation policy
  • --allow-base: allow baseplate/backdrop geometry in generated objects
  • --strict-quality: fail if quality target is not reached
  • --texture-size <N|WxH>: texture size override (takes precedence over --size for texture)
  • --depth <int>: scenario depth in Z voxels
  • --scale <float>: world/voxel scale multiplier
  • --out-format <bundle|layout|terrain-spec>: scenario output mode (default: bundle)
  • --enhanced-terrain / --no-enhanced-terrain: enable/disable enhanced terrain pipeline
  • --workers <auto|N>: optional chunk worker parallelism hint for scenario generation
  • --intent-mode <fast|balanced|deep>: ScenarioIntent pipeline mode
  • --intent-strict: enforce stricter intent conflict resolution
  • --auto-view <on|off>: generate deterministic view.settings.json (default: on)
  • --no-auto-view: disable view.settings.json generation
  • --debug-ai: print stage/provider debug timings

By default, create installs dependencies unless --no-install or --dry-run is used.

Unified Generate Pipeline

voxelyn generate now supports:

  • texture
  • scenario
  • object

The command always uses one orchestrated flow:

  1. Parse flags and resolution controls.
  2. Resolve provider (auto or override).
  3. Try @voxelyn/ai generation.
  4. If AI is unavailable/fails, fallback to deterministic procedural generation.
  5. Write output with a stable contract.

Legacy usage remains valid:

voxelyn generate texture --prompt "stone"
voxelyn generate scenario --prompt "forest valley with river"

ScenarioIntent 2.0

Scenario generation uses centralized intent resolution from @voxelyn/ai:

  • deterministic PT/EN parser + semantic scoring
  • optional normalization pass (--intent-mode)
  • conflict handling (--intent-strict)
  • directive compilation into topology/biome/composition decisions

This intent now influences full world generation (terrain, biome strategy, traversal/composition cues), not only terrain tags.

Output Contract

Default output format is bundle.

Texture bundle

  • manifest.json
  • texture.params.json
  • texture.ppm
  • texture.meta.json
  • view.settings.json (when auto-view is enabled)

Scenario bundle

  • manifest.json
  • scenario.layout.json
  • scenario.intent.json
  • scenario.stats.json
  • scenario.heightmap.f32
  • scenario.biome.u8
  • scenario.lighting.f32
  • scenario.terrain.u16
  • scenario.preview.ppm
  • terrain.spec.json
  • scenario.scale.json
  • view.settings.json (when auto-view is enabled)

Object bundle

  • manifest.json
  • object.blueprint.json
  • object.voxels.u16
  • object.meta.json
  • view.settings.json (when auto-view is enabled)

Alternative scenario outputs:

  • --out-format layout: emits layout-focused output.
  • --out-format terrain-spec: emits terrain.spec.json.

High-Resolution and Safety Guardrails

  • Defaults:
    • scenario: 128x128x32
    • texture: 64x64
    • scale: 1
    • provider: auto
    • intent mode: balanced
  • Large scenario warning above 16M voxels.
  • Hard safety block above 64M voxels unless --force is set.

Deploy config (itch.io)

Add to package.json:

{
  "voxelyn": {
    "deploy": {
      "itch": {
        "user": "yourUser",
        "game": "yourGame",
        "channel": "alpha",
        "dir": "dist"
      }
    }
  }
}

Notes

  • Node-only tool. Generated projects are browser-based.
  • The core library remains zero-deps and browser-friendly.