This simple Node project generates a plain swear words list file (swears.txt) that can easily be matched against.
Use swears.txt, or, to generate it again:
git clone https://github.com/ajmar/swears.git
npm install
npm run build
The swear word lists are sourced from: