UNPKG

expresser

Version:

A ready to use Node.js web app wrapper, built on top of Express.

16 lines (15 loc) 388 B
"use strict"; const app_1 = require("./app"); const routes_1 = require("./routes"); class Expresser { static _instance; static get Instance() { return this._instance || (this._instance = new this()); } newInstance() { return new Expresser(); } app = app_1.App.Instance; routes = routes_1.Routes.Instance; } module.exports = Expresser.Instance;