UNPKG

file-routing-expressjs

Version:

A dependency-free, flexible, system-based file routing for Express.

24 lines (22 loc) 634 B
declare const colors: { reset: string; bold: string; green: string; red: string; yellow: string; cyan: string; gray: string; blue: string; magenta: string; }; declare function color(text: string, c?: keyof typeof colors): string; declare function level(label: string, c?: keyof typeof colors): string; declare const logger: { info: (msg: string) => void; warn: (msg: string) => void; error: (msg: string) => void; success: (msg: string) => void; raw: (msg: string, c?: keyof typeof colors) => void; plain: (msg: string) => void; }; export { color, colors, level, logger };