JavaScript runtime for Nintendo Switch homebrew applications
MIT License
nx.js is a framework that enables the development of Nintendo Switch homebrew applications using JavaScript. Powered by the QuickJS engine, nx.js provides a streamlined environment for writing homebrew applications for the Nintendo Switch console.
With nx.js, developers can leverage their JavaScript skills and tools to create engaging and interactive experiences for the Nintendo Switch platform. The framework abstracts the underlying low-level details and provides a high-level JavaScript API that simplifies the development process.
nx.js is designed with Web standards in mind, so familiar APIs like
setTimeout()
, fetch()
, new URL()
, Canvas
and much more are
supported. If you are familar with web development then you should feel
right at home.
Canvas
API.Audio
API.Please see the Getting Started guide.
Contributions to nx.js are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request in the GitHub repository.
curl -sfLS install-node.vercel.app/20 | bash
)pnpm
needs to be installed (npm i -g pnpm
)jq
needs to be installed (brew install jq
)dkp-pacman -S switch-dev switch-freetype switch-libjpeg-turbo switch-libpng switch-libwebp switch-mbedtls
docker pull ghcr.io/tootallnate/pacman-packages:nxjs
docker run -it --rm --mount type=bind,source="$(pwd)",target=/host ghcr.io/tootallnate/pacman-packages:nxjs sh -c 'cp packages/*/*.pkg.tar.zst /host'
dkp-pacman -U *.pkg.tar.zst
qjsc
needs to be installed (note: must match the version of the QuickJS dkp package installed in the previous step).nro
:
./build.sh hello-world
nx.js is released under the MIT License. Please see
the LICENSE
file for more details.