applugins
v2.0.0
Published
Simple modular application architecture
Downloads
7
Readme
Applugins
Simplest modular application architecture.
The application singleton is a container for set of plugins.
Features:
- written in JS6
- easy to learn/use
- async init/done for plugins using
async/await
- no extra dependencies
Usage
import Applugins from 'applugins';
// once at start
(Applugins.create(config)).init().then((app)=>{});
let app = Applugins.instance();
app.done().then((app)=>{});
...
class ThePlugin extends Applugins.Plugin {...}
See test/test.js
for more use cases.
Repo
[https://github.com/alitskevich/applugins]
Legal
The MIT License (MIT)
Copyright (c) 2015 Alex Litskevich