Skip to content

Instantly share code, notes, and snippets.

@modos
Last active November 18, 2020 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save modos/fb450a19d9da1c6d6cfbc2462b8687e5 to your computer and use it in GitHub Desktop.
Save modos/fb450a19d9da1c6d6cfbc2462b8687e5 to your computer and use it in GitHub Desktop.
persian swear filter package js
const swear = require("@modos.m98/persian-swear-words");
console.log(swear.is_bad("گوز")) // if it's bad return true otherwise return false swear.remove_word("چس") // remove a word from data swear.add_word("modos is here") // add a word into data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment