New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@attack-monkey/fpipe

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@attack-monkey/fpipe

An fsharp style pipe

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

fpipe

fsharp style pipe for typescript

An fsharp style pipe for typescript (default to arity 10)

Install


npm i @attack-monkey/fpipe

Usage

I like Ramda... but their pipe / compose is off for my liking.

Ramda pipe is essentially an fsharp compose and Ramda compose is just an fsharp right to left compose (<<).

fpipe is an fsharp pipe.


const inc = (a: number) => a + 1

const thirteen = fpipe(10, inc, inc, inc)

^^ Which resembles


let thirteen = 10 |> inc |> inc |> inc

Keywords

functional

FAQs

Package last updated on 06 Oct 2020

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