Installation
npm install --save @types/wordfilter
Summary
This package contains type definitions for wordfilter (https://github.com/dariusk/wordfilter).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordfilter.
index.d.ts
export function blacklisted(string: string): boolean;
export function addWords(array: string | readonly string[]): void;
export function removeWord(word: string): void;
export function clearList(): void;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by mike castleman.