Last active
November 18, 2020 00:11
-
-
Save modos/fb450a19d9da1c6d6cfbc2462b8687e5 to your computer and use it in GitHub Desktop.
persian swear filter package js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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