1.0.0 • Published 1 year ago
alkin_npm_test v1.0.0
Alkin Vladimir's NPM test exercise
This package provides features: random color Random colors set *get standard gray - 128:128:128 (often used by artists)
#Installation npm install alkin_npm_test
#Use: Import the module: const { getRandomColor } = require('alkin_npm_test')
OR
import { getRandomColor } from 'alkin_npm_test'
#Get a random color const color = getRandomColor()
#Get multiple random colors const { getRandomColors } = require('alkin_npm_test'); const colors = getRandomColors(50); // gets a list of 50 random colors
#Get standart grey (128,128,128) const { getGray } = require('alkin_npm_test'); const grey = getGray(); // gets a list of 50 random colors
1.0.0
1 year ago