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) • 439 B
JavaScript
import { wrapAnsi } from "./_internal/wrapAnsi.mjs";
//#region src/server/colors/blueBright.ts
/**
* Bright blue foreground. 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.blueBright('hello'));
*/
function blueBright(text) {
return wrapAnsi("\x1B[94m", "\x1B[39m", text);
}
//#endregion
export { blueBright };