UNPKG

expressmultithread

Version:

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

40 lines (39 loc) 1.68 kB
export declare const slash = "/"; export declare const empty = ""; export declare const nl = "\n"; export declare const space = " "; export declare const bRight = "["; export declare const bLeft = "]"; export declare const fnStr = "function"; export declare const defaultStr = "default"; export declare const __controller = "__controller"; export declare const __route = "__route"; export declare const get = "get"; export declare const set = "set"; export declare const route = "route"; export declare const router = "router"; export declare const tsFile: string; export declare const node_modules = "node_modules"; export declare const childFile = "Child.js"; export declare const cfgFile: string; export declare const message = "message"; export declare const error = "error"; export declare const childNotFound = "Child not found"; export declare const noMain = "This file is not meant to be run in the main thread."; export declare const routeNotFound = "Route not found"; export declare const notImplemented = "Not implemented"; export declare const invalidPlugin = "Invalid plugin"; export declare const keywordUse = "Decoration of a class method named with keyword (get or set)"; export declare const Reset = "\u001B[0m"; export declare const FgGray = "\u001B[90m"; export declare const FgCyan = "\u001B[36m"; export declare const FgYellow = "\u001B[33m"; export declare const FgRed = "\u001B[31m"; export declare const logConsole = "[L]"; export declare const infoConsole = "[I]"; export declare const warnConsole = "[W]"; export declare const errorConsole = "[E]"; export declare const DispatcherType: { readonly ROUND_ROBIN: 0; readonly LEAST_CONNECTION: 1; };