es-toolkit
Version:
A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.
20 lines (19 loc) • 515 B
JavaScript
import { blackBright } from "./blackBright.mjs";
//#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 = blackBright;
//#endregion
export { gray };