node package manager

random-obj-prop

random-obj-prop Build Status

Get a random property from an object

Install

$ npm install --save random-obj-prop

Usage

var randomObjProp = require('random-obj-prop');
 
randomObjProp({foo: 'pony', bar: 'unicorn'});
//=> 'unicorn' 

Related

License

MIT © Sindre Sorhus