easy-utilitys-js
v1.0.10
Published
is a package that helps you coding. It provides a few functions that make your life easier!
Downloads
2
Readme
easy-utilitys-js
is a package that helps you coding. It provides a few functions that make your life easier!
Warning
This NPM package ist still in beta and can contain bugs!
Installation
Use npm to isntall easy-utilitys-js
npm install easy-utilitys-js
Usage
// Require the Package
const utility = require("easy-utilitys-js")
// Chooses a String
console.log(utility.chooses(["I love wolf", "I don't love wolf"]))
// Generates a random Int
console.log(utility.randomInt(5, 30))
// Generates a random String.
console.log(utility.randomString(10))
// Checks an arry for a word
arry = ["hey", "kek", "lol"]
if (utility.checkarry("hey", arry) === true) {
//Returns true
}
if (utility.checkarry("meow", arry) === true) {
// Returns false
}
Contact
If you found bugs or other things you can join on this Discord Server or open an issue on Github