SeaJS is a module loader focusing on the web. Different from RequireJS, the module authoring format of SeaJS is more similar to CommonJS. The module specification is forked from Krisk Owal: https://github.com/seajs/seajs/blob/master/docs/specification.md
With SeaJS, require, exports, module can be used just as you do in the environment of NodeJS:
define(function(require, exports, module) {
var foo = require('./foo');
...
exports.bar = foo.doSomething();
});
For more details, please go to http://seajs.com/
I’ll be highly appreciated if you would review the code or give some feedback to me.
Best regards,
Frank Wang