node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

box2dweb-commonjs

box2dweb-commonjs

web component logo

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

Usage

Both in component(1) or node.js just

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