tekko
Version:
Another IRC message parser and formatter
18 lines (17 loc) • 483 B
TypeScript
/**
* Indicates if a string should be escaped.
* @param input the string to validate
*/
export declare function shouldEscapeString(input: string): boolean;
/**
* Escapes a string.
* @param input the string to escape
* @return the escaped string.
*/
export declare function escapeString(input: string): string;
/**
* Unescapes a string.
* @param input the string to unescape
* @return the unescaped string.
*/
export declare function unescapeString(input: string): string;