0.0.10-b57 • Published 5 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
5 years ago
0.0.10-a21
5 years ago
0.0.10
5 years ago
0.0.9
5 years ago
0.0.8-fix
5 years ago
0.0.8
5 years ago
0.0.7-stable
5 years ago
0.0.7
5 years ago
0.0.6-fix
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago