0.0.10-b57 • Published 4 years ago
more-functions.js v0.0.10-b57
more-functions.js
A NPM that has extra functions for your Projects
Installation
npm install more-functions.js
Example:
const functions = require('more-functions.js')
const generateColor = functions.randomColor()
console.log(generateColor.name)
Output:
BLUE
Usage:
const functions = require('more-functions.js')
functions.add(9, 9)// Add values
functions.sub(9, 9)// subtract values
functions.multi(3, 3)// multiply values
functions.divide(9, 3)// divide values
functions.random(['word1', 'word2'])// randomize the words
functions.randomInt(9) // random number to the max value(randonInt(max value))
functions.randomColor // Random Color. randomColor.name for the color name or randomColor.code for the color hex code
functions.allColors // All colors list use to generate one of them
0.0.10-b57
4 years ago
0.0.10-a21
4 years ago
0.0.10
4 years ago
0.0.9
4 years ago
0.0.8-fix
4 years ago
0.0.8
4 years ago
0.0.7-stable
4 years ago
0.0.7
4 years ago
0.0.6-fix
4 years ago
0.0.6
4 years ago
0.0.5
4 years ago
0.0.4
4 years ago
0.0.3
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago