map-plus 
Produces a new array of values by mapping each value in list through a transformation function (iteratee).
The iteratee is passed three arguments: the value, then the index (or key) of the iteration, and finally a reference to the entire list.
Inspired by _.map. 😄
Install
Install with npm
$ npm install map-plus
Or unpkg
<script src="https://unpkg.com/map-plus@1.0.4/umd/index.js" />
Check out the unit tests on CodePen.
Usage
const map = require('map-plus');
map([1, 2, 3], num => num * 3);
map({one: 1, two: 2, three: 3}, (num, key) => num * 3);
API
map(list, iteratee, [context])
list
Type: array or object
Default: none
The collection of elements to iterate over.
iteratee
Type: function or string
Default: none
Function to apply. Or property name to pass.
License
MIT