Skip to main content
Deno 2 is finally here 🎉️
Learn more

Curry Me

A typed curry function with great IntelliSense.

Please note that you can curry functions with a maximum arity of 8.

Great IntelliSense

Installation

yarn install curry-me
# or
npm install curry-me

Getting started

import { curry } from "curry-me";

const add = curry ((x: number, y: number, z: number) => x + y + z);

add (1) (2) (3); // 6
add (1, 2) (3); // 6
add (1, 2, 3); // 6