es-toolkit
Version:
A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.
15 lines • 333 B
TypeScript
//#region src/server/colors/bold.d.ts
/**
* Bold text. 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.bold('hello'));
*/
declare function bold(text: string): string;
//#endregion
export { bold };