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) 454 B
import { wrapAnsiBg } from "./_internal/wrapAnsiBg.mjs"; //#region src/server/colors/bgBlueBright.ts /** * Bright blue 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.bgBlueBright('hello')); */ function bgBlueBright(text) { return wrapAnsiBg("\x1B[104m", "\x1B[49m", text); } //#endregion export { bgBlueBright };