@gabliam/core

Gabliam is on top of inversify

Stats

StarsIssuesVersionUpdatedCreatedSize
@gabliam/core
408.11.07 months ago5 years agoMinified + gzip package size for @gabliam/core in KB

Readme

Build Status NPM version

Gabliam core

Gabliam is on top of inversify. Gabliam help you for register all class in inversify. Gabilliam is modular with plugins.

Gabliam phase

Build phase

  1. Load all config file
  2. Load all file in scanPath of main
    • All decorators on class add metadata and can register this class
    • if an class has @scanPath, add this folder in queue for load
    • load all plugin
  3. Bind classes in DI (inversify)
    • call all plugin.bind
  4. load all config classes (order: CoreConfig => PluginConfig => config)
    • call all plugin.config for all instance of config class
  5. Build
    • call all plugin.build

Start phase

/!\ Build phase must be passed

  1. call all plugin.start

Stop phase

/!\ Build and start phases must be passed

  1. call all plugin.start

Detroy phase

/!\ Stop phase must be passed

  1. call all plugin.detroy

Samples

Go to Samples

License

MIT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.