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