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

@wasm-gaming/rsdkv3-wasm

v0.1.4

Published

RSDKv3 (Retro Software Development Kit v3) compiled to WebAssembly, with a JS SDK conforming to the wasm-gaming engine contract. Runs Sonic CD by loading Data.rsdk at runtime.

Downloads

279

Readme

@wasm-gaming/rsdkv3-wasm

RSDKv3 (Retro Software Development Kit v3, Sonic CD 2011 decompilation) compiled to WebAssembly, wrapped in a JS SDK conforming to the wasm-gaming engine contract.

The engine does not bake game data with --preload-file. Hosts provide Data.rsdk at runtime, so the same rsdkv3.wasm can be reused across installs.

Contract surface

import { manifest, load } from '@wasm-gaming/rsdkv3-wasm';

const engine = await load({
  canvas,
  assets: { data: dataRsdkBytes /*, settings: iniBytes */ },
  onEvent: (e) => { /* 'ready' | 'error' */ },
  // Optional override when artifacts are hosted externally:
  // jsUrl, wasmUrl,
});

engine.pause();
engine.resume();
engine.setInput('rsdkv4');
engine.destroy();
  • manifest defines required data (/data/Data.rsdk) and optional settings (/data/settings.ini) assets.
  • load(config) returns an EngineInstance and exposes devMenu bridge helpers: getStageList(), loadStage(category, stage), setPaused(bool).

Options

Engine-specific options are declared in src/rsdkv3.options.ts and mirrored into manifest.options:

  • devMenu
  • engineDebugMode
  • vsync
  • soundtrack (0 JP/EU, 1 US)
  • language
  • disableTouchControls

If assets.settings is omitted, the SDK generates settings.ini from these options.

Build

All build logic is in Makefile:

make build        # SDK (TypeScript) + WASM
make build-sdk    # SDK only
make build-wasm   # WASM via Docker wrapper
make preview      # serves dist/ at http://localhost:8080
  • scripts/build.sh clones Rubberduckycooly/Sonic-CD-11-Decompilation, applies known Emscripten patches, vendors libtheora, and outputs:
    • dist/rsdkv3/rsdkv3.js
    • dist/rsdkv3/rsdkv3.wasm
  • scripts/emit-manifest.mjs writes dist/manifest.json from typed manifest.
  • scripts/seed-settings.mjs seeds dist/settings.ini from src/settings.default.ini when absent.

Try locally

make build
cp /path/to/Data.rsdk dist/
make preview
# open http://localhost:8080/

The demo attempts ./Data.rsdk; if missing, it shows a file picker and supports drag-and-drop.

Status

  • ✅ TypeScript SDK + manifest build
  • ✅ CI workflow scaffold for SDK/WASM/release/pages
  • ⏳ Browser runtime verification with a real Data.rsdk
  • ⏳ Full WASM build verification (make build-wasm) on this new subproject

License

MIT for this wrapper. Upstream engine and game data keep their own licenses.