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