🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

fp-or

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

fp-or

A tiny 'or' function for functional programming.

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

fp-or

A tiny 'or' function for functional programming.

Build Status Coverage Status Known Vulnerabilities

Install

$ npm install --save fp-or

Usage

const or = require('fp-or');

const result = [0, 1, 0, 2, 0, 3].map(or(5));

// result = [5, 1, 5, 2, 5, 3];

Keywords

fp

FAQs

Package last updated on 03 Jan 2017

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