UNPKG
word-detector
Version:
latest (1.1.0)
1.1.0
1.0.0
detect words in a sentence
github.com/Midefolio/word-detector
Midefolio/word-detector
word-detector
/
badwords.js
24 lines
(23 loc)
•
357 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const
offensiveWords
=
[
"abuse"
,
"idiot"
,
"stupid"
,
"dumb"
,
"jerk"
,
"moron"
,
"fool"
,
"trash"
,
"hate"
,
"loser"
,
"pathetic"
,
"lame"
,
"worthless"
,
"useless"
,
"scum"
,
"dirtbag"
,
"nonsense"
,
"crap"
,
"rubbish"
,
"garbage"
]
module
.
exports
= offensiveWords