Box2dweb as a Common JS module

npm install box2dweb-commonjs
1 downloads in the last week
20 downloads in the last month


web component logo

CommonJS version of Box2dWeb both for npm and component(1)
The patch to support Node.js was prepared by Christoph Schulz


Both in component(1) or node.js just

var box2d = require('box2dweb-commonjs');
var world = new box2d.b2World(....)
npm loves you