@types/wordfilter
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/wordfilter

      Weekly Downloads

      5

      Version

      0.2.2

      License

      MIT

      Unpacked Size

      2.94 kB

      Total Files

      5

      Last publish

      Collaborators

      • types