edifice

0.1.0 • Public • Published

Edifice

A simple core for your modular app.

var core = new Edifice();
var uiModuleFacade = core.createFacade(permittedActions, permittedListeners);
uiModule.init(uiModuleFacade);

Each facade can be treated as an event emitter. emit events from your module, and if they're listed in your module's actions (and other modules' listeners) they'll be passed between modules. Modules can then be kept completely out of each others' scopes.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.03latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.03

Package Sidebar

Install

npm i edifice

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • nathanmacinnes