node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

fj-map

fj-map

Build Status npm version

Map FP style.

Installation

npm install fj-map --save

Usage

var map = require('fj-map');
 
let double = x => x * 2;
 
map(dobule, [1,2,3]); // [2,4,6] 
 
let doubler = map(dobule);
 
dobuler([1,2,3]); // [2,4,6]