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

romdev-platform-gba

v0.14.1

Published

Game Boy Advance binaries + C library tree for romdev: mGBA emulator core + arm-none-eabi-gcc toolchain (cc1 / as / ld / objcopy / objdump) + the GBA C library share/ tree (libtonc, libgba, maxmod, sysbase, crt0, ldscripts). WASM. Single-consumer: the GBA

Readme

romdev-platform-gba

Game Boy Advance bundle, as WebAssembly: the mGBA emulator core and the arm-none-eabi-gcc toolchain (cc1, as, ld, objcopy, objdump). The objdump also serves ARM/Thumb disassembly for disasm({target:'rom'}) and byte-exact disasm({target:'project'}). The package also carries the GBA C library tree (share/gba/lib/: libtonc, libgba, maxmod, sysbase, crt0s, linker scripts, ARM target archives) and the C build pipeline:

import { buildGbaC, parseBuildLog } from "romdev-platform-gba";

const r = await buildGbaC({ source: '#include <tonc.h>\nint main(){ ... }' });
// r.binary is a .gba ROM; r.log (or parseBuildLog(r.log)) lists any issues

An SDK or tool that builds GBA ROMs needs only this package; romdevtools' build({platform:'gba'}) goes through the same entry point. buildGbaC also accepts an injected env (runTool, share manifest, hash, sdkCache) so the same pipeline runs in a browser Web Worker; see build/gba-c/gba-c.js for the contract.

A binary package for romdev. The main romdevtools package loads it on demand. Install romdevtools (npx romdevtools) for the full tool set, or this package alone for the build pipeline.

Upstream and license

Bundles: mGBA (https://github.com/libretro/mgba) and arm-none-eabi gcc 14.2.0 with binutils 2.42 and newlib 4.4.0.

License:

  • mGBA: MPL-2.0 (the package's license field).
  • gcc and binutils: GPL-3.0-or-later. libgcc carries the GCC Runtime Library Exception, and newlib uses BSD-style licences, so linking them does not place conditions on a compiled ROM.
  • Libraries in share/gba/lib/ keep their own licences: libgba (LGPL with a static-linking exception; it asks that a program credit the devkitPro project; libgba/LICENSE), maxmod (ISC, maxmod/LICENSE-MAXMOD), the devkitPro crt0 (MPL-2.0) and libtonc (MIT, libtonc/LICENSE; the upstream release has no licence file, and the author confirmed MIT to the gbadev-org fork, which added this one).

This package redistributes the upstream source built to WebAssembly. The upstream versions are pinned in packages/romdevtools/scripts/versions.json in the romdev repo, and the repo's NOTICE has the full third-party inventory.

Built by: packages/romdevtools/scripts/build-mgba.sh (patch mgba-romdev-watchpoint.patch) and build-arm-wasm-tools.sh (toolchain built by build-arm-toolchain.sh). See BUILD_MAP.md for the recipe-to-package map.