pluck-util 
Extract a list of property values from a collection.
A convenient version of what is perhaps the most common use-case for map.
Inspired by _.pluck. 😄
Install
Install with npm
$ npm install pluck-util
Or unpkg
<script src="https://unpkg.com/pluck-util@1.0.2/umd/index.js" />
Check out the unit tests on CodePen.
Usage
const pluck = require('pluck-util');
const stooges = [{name: 'moe', age: 40}, {name: 'larry', age: 50}, {name: 'curly', age: 60}];
pluck(stooges, 'name');
pluck(stooges, 'age');
API
pluck(collection, propertyName)
collection
Type: array
Default: none
The array to iterate over.
propertyName
Type: string
Default: none
The property name to extract.
License
MIT