Skip to content

nichoth/array-random

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@nichoth/array-random

Get a random element from an array

Install

$ npm install @nichoth/array-random

Example

var randomEl = require('@nichoth/array-random');
var elmt = randomEl(['some', 'array', 'here']);

About

Get a random element from an array

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published