Turns any function into an array mapping
Install with component(1):
$ component install bredele/mapify
var mapify = require('mapify');
var square = mapify(function(n){return n * n;});
square([1,2,3]);
// [1,4,9]
Mapify get nicer when use with get.
var arr = [{
name: 'olivier',
age: '27'
},{
name: 'amy'
age: '26'
}];
mapify(get('name'))(arr);
// ['olivier', 'amy']
MIT