UNPKG

grind-framework

Version:

An opinionated Node web framework built on Express

22 lines (17 loc) 291 B
export class Kernel { app = null as = null constructor(app, options = {}) { this.app = app this.options = options } start() { throw new Error('Subclasses must implement.') } shutdown() { throw new Error('Subclasses must implement.') } get providers() { return [] } }