1.0.1 • Published 6 years ago
useful-functions v1.0.1
Useful Functions
the module has useful functions
Install
npm i useful-functions
Usage
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: false
checkString 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 }