1.1.1 • Published 9 years ago

arr-obj-values v1.1.1

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

arr-obj-values Build Status

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