Skip to content

Randomizes an Array or an Integer, still in progress!

License

Notifications You must be signed in to change notification settings

RytardCodes/Randomize.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Randomize.js

Randomizes an Array or an Integer, still in progress!

How to Install:

npm install randomize.js --save

Usage

randomizeNumber

const randomize = require('randomize.js'); // Require the Package

var randomNumbers = randomize.randomizeNumber(10); // Choose a random number from 0 - 10

console.log(randomNumbers); // Log the Chosen Number

Take Note: If you do placed no integer inside the Function, it'll make it automatically 10

randomizeArray

const randomize = require('randomize.js'); // Require the Package

var myArray = ['Hello!', 'Nice to meet you!', 'Welcome!']; // Make an array

var randomArray = randomize.randomizeArray(myArray); // Chooses a random Value from the Array!

console.log(randomArray); // Log the Chosen Value

About

Randomizes an Array or an Integer, still in progress!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published