Input profanity filter

Hi, For the last day I've been searching for a (good) profanity filter for user input. It's pretty important that it's good. On my website, people can name whatever they have created and I would rather not have the following: - Racial slurs, insults, basically insert any kind of curse words / sentences - Advertisement links for gold selling, illegal porn or any other thing that may be illegal/harmful to other users So far the best npm package I have found is 'obscenity', but this seems to break the more swear words you add.
2 Replies
Joao
Joao12mo ago
Perhaps you should consider opening a bug report, and hopefully you can get some help on your issue rather than having to use another package. https://github.com/jo3-l/obscenity I'm afraid I don't have any recommendations on this.
aevitas
aevitas12mo ago
We're hoping to go live this week so that would be a longer term plan, yeah.