UNPKG

expressmultithread

Version:

Fast, light-weight and low dependency [Express.js](https://www.npmjs.com/package/express) multithreaded router.

40 lines 2.01 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.errorConsole = exports.warnConsole = exports.infoConsole = exports.logConsole = exports.FgRed = exports.FgYellow = exports.FgCyan = exports.FgGray = exports.Reset = exports.keywordUse = exports.invalidPlugin = exports.notImplemented = exports.routeNotFound = exports.noMain = exports.childNotFound = exports.error = exports.message = exports.cfgFile = exports.childFile = exports.node_modules = exports.tsFile = exports.router = exports.route = exports.set = exports.get = exports.__route = exports.__controller = exports.defaultStr = exports.fnStr = exports.bLeft = exports.bRight = exports.space = exports.nl = exports.empty = exports.slash = void 0; const isCompiled_1 = require("./isCompiled"); exports.slash = "/"; exports.empty = ""; exports.nl = "\n"; exports.space = " "; exports.bRight = "["; exports.bLeft = "]"; exports.fnStr = "function"; exports.defaultStr = "default"; exports.__controller = "__controller"; exports.__route = "__route"; exports.get = "get"; exports.set = "set"; exports.route = "route"; exports.router = "router"; exports.tsFile = isCompiled_1.isCompiled ? ".js" : ".ts"; exports.node_modules = "node_modules"; exports.childFile = "Child.js"; exports.cfgFile = `em.config.${isCompiled_1.isCompiled ? "js" : "ts"}`; exports.message = "message"; exports.error = "error"; exports.childNotFound = "Child not found"; exports.noMain = "This file is not meant to be run in the main thread."; exports.routeNotFound = "Route not found"; exports.notImplemented = "Not implemented"; exports.invalidPlugin = "Invalid plugin"; exports.keywordUse = "Decoration of a class method named with keyword (get or set)"; exports.Reset = "\x1b[0m"; exports.FgGray = "\x1b[90m"; exports.FgCyan = "\x1b[36m"; exports.FgYellow = "\x1b[33m"; exports.FgRed = "\x1b[31m"; exports.logConsole = "[L]"; exports.infoConsole = "[I]"; exports.warnConsole = "[W]"; exports.errorConsole = "[E]"; //# sourceMappingURL=strings.js.map