mrjbadwordfilter
v2.1.0
Published
const wordFilter = require("mrjbadwordfilter");
Readme
Code Example:
const wordFilter = require("mrjbadwordfilter");
const str = "Hello world!" const str2 = "Hello world! I fucking love coding";
const filter = await worldFilter(str); const filter2 = await worldFilter(str2);
//filter should return FALSE //filter2 should return TRUE
Make sure you have a fuction that supports await otherwise you have to resolve the promise.
