Skip to content

fp-js/fj-map

Repository files navigation

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]