Get a random value from an object
npm install random-object-value
import randomObjectValue from 'random-object-value';
randomObjectValue({foo: '🐴', bar: '🦄'});
//=> '🦄'
- random-object-key - Get a random key from an object
- random-int - Generate a random integer
- random-float - Generate a random float
- random-item - Get a random item from an array
- unique-random - Generate random numbers that are consecutively unique
- unique-random-array - Get consecutively unique elements from an array
- crypto-random-string - Generate a cryptographically strong random string