Skip to content

introduction

silentwolf-dev edited this page Nov 10, 2022 · 1 revision

Quick start

installation

 npm i devspeed-filterjs

setup

const {TextFilter} = require('devspeed-filterjs');

const message = new TextFilter({
  text: "shut the **** up", // set the text that is being manipulated
  disableBlackList:  false, // set to false by default.
  customBlacklist: ['foo', 'aah'], // create the custom blacklist.
})

Clone this wiki locally