News for hackers. Stuff that matters.
Re:OneJS lets coders convert NodeJS projects into single, st... by combataircraft on Monday April 16, 2012 @09:44AM (#3847299)
although onejs and browserify tries to accomplish similar tasks, onejs has some noticeable implementation and concept differences (e.g browserify pollutes global scope a lot and it expects you to provide it a main module instead of a package manifest)

here is the output comparison of onejs and browserify:

onejs: https://gist.github.com/2398843 browserify: https://gist.github.com/2398824

and here is a real world example of onejs;

http://multiplayerchess.com/mpc.js

The second thing is, onejs lets us use the core NodeJS library, too. It doesn't contain it by default but you can install the available modules by typing; "one install assert path util url"

There are no comments on this comment yet.