2010-10-13

Box2dnode Available via npm

box2dnode has been packaged up and released as an npm module. To get it, use the following command:
npm install box2d

Creating the package was relatively easy. It only involved creating a package.json file in the root of the package:

{
 "name" : "box2d",
 "version" : "1.0.0",
 "description" : "2D physics engine",
 "homepage" : "http://github.com/jadell/box2dnode",
 "author": {
  "name" : "Josh Adell",
  "email" : "josh.adell@gmail.com",
  "url" : "http://everymansoftware.blogspot.com/"
 },
 "main" : "./box2dnode",
 "engines" : ["node"]
}
Of course, box2d is a simple package. I'll be interested to see how packaging works with a more complex project.

No comments:

Post a Comment