Moduller is a simple tool to have Marionette.js-like modules without Marionette.js
npm install moduller --save-dev
First of all you have to set up your Main application:
var App = Moduller();
Then you can generate your modules like by Marionette:
App.module('Any.Nested.Module.You.Want', function (Want) {
Want.init = function () {
console.log('Hello, World!');
};
});
Also you can access your modules like in Marionette:
App.Any.Nested.Module.You.Want.init();
MIT