UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

19 lines (18 loc) 498 B
//#region src/server/colors/gray.ts /** * Gray foreground — alias of `blackBright`. Wraps text with ANSI codes. * * "Gray" and "bright black" map to the same SGR code (`\x1b[90m`); this export * exists so callers can use the friendlier name. * * @param text - The text to style. * @returns The styled text. * * @example * import { colors } from 'es-toolkit/server'; * * console.log(colors.gray('muted')); */ const gray = require("./blackBright.js").blackBright; //#endregion exports.gray = gray;