es-toolkit
Version:
A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.
15 lines • 386 B
text/typescript
//#region src/server/colors/reset.d.ts
/**
* Resets every style and color set up to this point. Wraps text with the ANSI reset code.
*
* @param text - The text to style.
* @returns The styled text.
*
* @example
* import { colors } from 'es-toolkit/server';
*
* console.log(colors.reset('hello'));
*/
declare function reset(text: string): string;
//#endregion
export { reset };