1.0.0 • Published 4 years ago
ts-swears v1.0.0
TS Swears
Tiny module to test if a word is a swear (as listed by Google-profanity-words)
Methods
import isSwear from 'ts-swears'
// isSwear(word: string): boolean
isSwear('fuck') // true
isSwear('flip') // false
1.0.0
4 years ago