arr-obj-values

1.1.1 • Public • Published

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

/arr-obj-values/

    Package Sidebar

    Install

    npm i arr-obj-values

    Weekly Downloads

    4

    Version

    1.1.1

    License

    MIT

    Last publish

    Collaborators

    • kevva