litecanvas

v0.42.0
Lightweight HTML5 canvas engine suitable for small games and animations.
canvas 2d game html5 gamedev

dev

esbuild src/index.js --bundle --watch --outfile=dist/dist.js --servedir=.

build

node script/build.js

format

npx prettier -w src/* samples/* types/*

prepare

npm run build && npm run gzip-size

gzip-size

gzip -c dist/dist.min.js | wc -c | xargs printf " Gzip size: %s bytes "

Metadata

  • MIT
  • Whatever
  • Luiz Bills
  • released 8/5/2024

Downloads

Maintainers