@pbrgld/loggify
Version:
A lightweight, dependency-free logging library for Bun.js and Node.js – featuring emoji support, styled output, contextual logging, and high-performance stdout logging.
33 lines (32 loc) • 1.1 kB
TypeScript
/**
* Ansi Codes (asset file)
* The asset files are introduced to seperate the static information from code logic.
*/
export declare const ansiCodes: {
readonly black: "\u001B[30m";
readonly red: "\u001B[31m";
readonly green: "\u001B[32m";
readonly yellow: "\u001B[33m";
readonly blue: "\u001B[34m";
readonly magenta: "\u001B[35m";
readonly cyan: "\u001B[36m";
readonly white: "\u001B[37m";
readonly brightBlack: "\u001B[90m";
readonly brightRed: "\u001B[91m";
readonly brightGreen: "\u001B[92m";
readonly brightYellow: "\u001B[93m";
readonly brightBlue: "\u001B[94m";
readonly brightMagenta: "\u001B[95m";
readonly brightCyan: "\u001B[96m";
readonly brightWhite: "\u001B[97m";
readonly orange: "\u001B[38;5;208m";
readonly gray: "\u001B[90m";
readonly reset: "\u001B[0m";
readonly bold: "\u001B[1m";
readonly dim: "\u001B[2m";
readonly italic: "\u001B[3m";
readonly underline: "\u001B[4m";
readonly inverse: "\u001B[7m";
readonly hidden: "\u001B[8m";
readonly strikethrough: "\u001B[9m";
};