2.0.0 • Published 8 years ago

applugins v2.0.0

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
8 years ago

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