Example $ npm install sensitive-words --save const {sensitiveWords} = require("sensitive-words") const filtered = sensitiveWords.default("The new apple macbook pro will have a touchbar", ["pro", "touchbar"]) console.log(filtered); // The new apple macbook *** will have a ***