ts-swears
v1.0.0
Published
Typescript Module for cutting out the swears
Readme
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