jsout
Version:
A Syslog-compatible, small, and simple logger for Typescript/Javascript projects. Sponsored by https://aeroview.io
18 lines (17 loc) • 589 B
TypeScript
type ColorFunctions = {
bold: (str: string) => string;
bgGreenBright: (str: string) => string;
black: (str: string) => string;
whiteBright: (str: string) => string;
gray: (str: string) => string;
white: (str: string) => string;
yellowBright: (str: string) => string;
redBright: (str: string) => string;
bgRedBright: (str: string) => string;
};
/**
* Portable color functions that work everywhere
* Uses ANSI codes in terminal environments, no-op in non-terminal environments
*/
export declare function getColorFunctions(): ColorFunctions;
export {};