UNPKG

form-text-sanitizer

Version:

Sanitize strings — expecting text — from html, svg, erb, and mustache expressions.

8 lines (7 loc) 222 B
interface FinalResponse { originalString: string; suggestedString: string; matches: Array<string>; } declare const checkAndSanitizeString: (str: string) => FinalResponse; export default checkAndSanitizeString;