Package Exports
- cordis
- cordis/lib/index.cjs
- cordis/lib/index.mjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cordis) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Cordis
AOP Framework for Modern JavaScript Applications.
import { App } from 'cordis'
const app = new App()
app.plugin(plugin) // use plugins
app.on(event, callback) // listen to events
app.start() // start appConcepts
App
Context
Contexts provide three kinds of functionality:
- allowing access to services (service container)
- managing states of plugins (plugin context)
- filtering sessions for events (session context)