Skip to content
@textfilters

Textfilters

Composable TypeScript text filtering primitives for moderation pipelines.

Textfilters

Composable TypeScript text filtering and content moderation packages for URLs, email addresses, phone numbers, profanity, spam, and custom moderation pipelines.

Textfilters provides small MIT-licensed packages for chat moderation, UGC moderation, censoring, redaction, URL detection, email detection, phone number detection, Russian profanity filtering, anti-spam checks, and custom pipelines.

Packages

Package Purpose
@textfilters/core Shared contracts, normalization, range masking, and pipeline utilities.
@textfilters/url URL detection, obfuscated links, defanged domains, and safe link censoring.
@textfilters/email Email detection, obfuscated email forms, contact redaction, and false-positive guards.
@textfilters/phone Phone number detection, phone-like sequence filtering, and contact redaction.
@textfilters/profanity Russian profanity filter primitives with dictionary support and taxonomy metadata.
@textfilters/spam Lightweight anti-spam guard for interval, duplicate, burst, and actor-based checks.

Packages are published independently to GitHub Packages. Versions are not kept in lockstep across packages; check each package repository, GitHub Release, or package metadata for the current release.

Use Cases

  • Chat moderation for links, contact details, profanity, and spam behavior.
  • UGC moderation for posts, profiles, comments, listings, and messages.
  • Censoring and redaction before display, indexing, search, or audit storage.
  • Composable TypeScript moderation pipelines with independently testable filters.

Install

@textfilters:registry=https://npm.pkg.github.com

GitHub Packages requires npm authentication for installs, including public packages.

See textfilters/textfilters for the ecosystem overview, usage examples, release policy, and roadmap.

Roadmap

Future package additions are tracked as they become ready for release.

License

MIT

Pinned Loading

  1. textfilters textfilters Public

    Composable TypeScript text filtering and content moderation packages for URLs, email, phone numbers, profanity, spam, and custom pipelines.

Repositories

Showing 8 of 8 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…