Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
@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.

Organization Defaults

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.

    JavaScript 1

Repositories

Loading
Type
Select type
Language
Select language
Sort
Select order
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…

Morty Proxy This is a proxified and sanitized view of the page, visit original site.