UNPKG

@sigiljs/sigil

Version:

TypeScript-first Node.js HTTP framework offering schema-driven routing, modifier-based middleware, plugin extensibility, and flexible response templating

17 lines (16 loc) 323 B
class o { sigil; logger; /** * Creates a new Modifier instance. No parameters. */ constructor() { const i = new.target.prototype.__$ctx; if (!i) throw new Error("Cannot initialize modifier without context"); this.sigil = i.sigilApi, this.logger = i.logger; } } export { o as Modifier };