Get the values of an array of objects
$ npm install --save arr-obj-values
var arrObjValues = require('arr-obj-values');
arrObjValues([{
cat: 'meow'
}, {
foo: 'bar'
}, {
unicorn: 'meow'
}, {
cat: 'foo'
}]);
//=> ['meow', 'bar', 'foo']
Required
Type: array
An array of objects with the values you want to get.
MIT © Kevin Martensson