Skip to content

Latest commit

 

History

History

modern

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Backend demo (modern)

This package shows how you could install box2d-wasm into a Node.js 14.8.0+ application, using modern techniques (ES imports, top-level await).

Setup

Grab yourself a copy of this repository, install the demo's dependencies with npm:

git clone https://github.com/Birch-san/box2d-wasm.git
cd box2d-wasm/demo/backend/modern
npm ci

Run

Run the program:

npm start