useful-functions
v1.0.1
Published
the module has useful functions
Readme
Useful Functions
the module has useful functions
Install
npm i useful-functionsUsage
Define module
const uf = require('useful-functions')checkString example:
checkString; checks the string entered and then returns it as a true or false
uf.checkString({
string: 'test',
type: 'badword',
lang: 'en',
to: 'console'
})//Log: falsecheckString Options:
{
string: 'test',
type: 'ad', //ad or badword
lang: 'en', //en or tr. en default
to: 'console', //sends the result to the console. default none
target: 'discord' //applies to just advertise. default none
}