← Projects
Library Developer

Nepali Profanity Checker

Sep 2024Oct 2024

Nepali Profanity Checker screenshot 1

An open-source TypeScript library that detects and censors Nepali profanity in both Devanagari and romanized text.

Key highlights

  • Unicode normalization and diacritic stripping for accurate text matching
  • Optional fuzzy-matching mode (Levenshtein) to catch obfuscated variants
  • Safe censor algorithm that preserves Unicode string length
  • Comprehensive unit tests with Jest and CI via GitHub Actions
  • Published and documented on npm

Technology

TypeScriptNode.jsJestGitHub Actionsnpm