UNPKG

filter-kata

Version:

**FilterKata** is a lightweight and customizable TypeScript class to detect and censor inappropriate or offensive words from text input. Perfect for chat systems, comment moderation, forums, and more.

9 lines (8 loc) 235 B
export declare class FilterKata { private jorok; tambah(kataList: string[]): void; cek(teks: string): boolean; sensor(teks: string, mask?: string): string; daftar(): string[]; hapus(kataList: string[]): void; }