The fast and plucky game framework from studioKeywi 🪕 Zero dependencies 🪕 Tree shakeable exports 🪕 Built with ❤️, Bun, and TypeScript.
@studiokeywi/banjo
is a TypeScript game framework meant to be run in the browser or a similar web view (such as through Electron or Tauri) through the build process of your choice. Although dependency free, Banjo expects to have access to browser-provided functionality such as the cancelAnimationFrame
/requestAnimationFrame
functions, the HTMLImageElement
/Image
objects, and the <canvas>
element. If you can provide these where your code will run, then Banjo should run there as well!
exports
map, separated out by concern. That way, you can be sure that your games only contain the minimum code required for your final product.Banjo is published to the NPMJS registry and can be installed with any compatible package manager. Depending on your build process, you may be able to install as a development dependency instead.
bun add @studiokeywi/banjo
# or
bun add -D @studiokeywi/banjo
deno add npm:@studiokeywi/banjo
# or
deno add -D npm:@studiokeywi/banjo
npm install @studiokeywi/banjo
# or
npm install -D @studiokeywi/banjo