Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

curri

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

curri

Minimal curry implementation

  • 0.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
350
decreased by-70.49%
Maintainers
1
Weekly downloads
 
Created
Source

curri

Build Status

NPM version NPM downloads MIT License

Usage

import curry from 'curri'

const add = (a, b) => a + b
const add3 = curry(add)(3)

console.log(add3(5)) // 8

API

curry

Function to curry any javascript method

Parameters

  • fn Function the target function we want to curry
  • acc ...[args] initial arguments

Returns (Function | any) it will return a function until the target function will receive all of its arguments

Keywords

FAQs

Package last updated on 17 Dec 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc