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).
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 the program:
npm start