4.0.0 • Published 1 year ago

random-object-value v4.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

random-object-value

Get a random value from an object

Install

npm install random-object-value

Usage

import randomObjectValue from 'random-object-value';

randomObjectValue({foo: '🐴', bar: '🦄'});
//=> '🦄'

Related