0.0.0 • Published 9 years ago

@nichoth/array-random v0.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
9 years ago

@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']);
0.0.0

9 years ago