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
Tiny module to test if a word is a swear (as listed by Google-profanity-words)
import isSwear from 'ts-swears'
// isSwear(word: string): boolean
isSwear('fuck') // true
isSwear('flip') // false
npm i ts-swears
5
1.0.0
MIT
32.9 kB
18