es-toolkit
Version:
A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.
15 lines • 342 B
TypeScript
//#region src/server/colors/bgRed.d.ts
/**
* Red background. Wraps text with ANSI codes.
*
* @param text - The text to style.
* @returns The styled text.
*
* @example
* import { colors } from 'es-toolkit/server';
*
* console.log(colors.bgRed('hello'));
*/
declare function bgRed(text: string): string;
//#endregion
export { bgRed };