fuller-common-js

Fuller tool: tiny and deadly simple commonJS (nodejs like) module realization.

npm install fuller-common-js
10 downloads in the last month

Fuller

Build everything with right tool

For more info about go there

CommonJS tool for Mr. Fuller's js tool

CommonJS

Tiny and deadly simple commonJS (nodejs like) module realization. It consists from just two functions require and exports. You can write your client js like usual nodejs module.

    var a = require('a');
    var b = function () {

    }
    exports('b', b);

Fuller will wrap all, app and each module, in closures. So your modules will be availible only for your app. If you need to make your module global (to be avalible outside your app), just use

    exports('b', b, true);
npm loves you