node package manager
Don’t reinvent the wheel. Reuse code within your team. 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(....)