1.0.1 • Published 6 years ago

useful-functions v1.0.1

Weekly downloads
2
License
MIT
Repository
-
Last release
6 years ago

Useful Functions

the module has useful functions

NPM Version

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
}

License

MIT