Socket
Book a DemoInstallSign in
Socket

fj-fold

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fj-fold

FP-style array reduce

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

fj-fold

Build Status npm version

FP-style array reduce

Installation

npm install fj-fold --save

Usage

var foldl = require('fj-fold').foldl;
var foldr = require('fj-fold').foldr;

foldl('x')(join)([1, 2]); // => 'x12'
foldr('x')(join)([1, 2]); // => 'x21'

Keywords

fp-dom

FAQs

Package last updated on 20 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts