@embers-of-the-fire/currify@0.1.0
latest
Works with
•JSR Score82%•It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




Publisheda year ago (0.1.0)
Currify
Currify is a utility library for functional programming in TypeScript. It provides tools to transform functions into curried versions, making them easier to compose and reuse.
Installation
# deno deno add jsr:@embers-of-the-fire/currify # npm (one of the below, depending on your package manager) npx jsr add @embers-of-the-fire/currify yarn dlx jsr add @embers-of-the-fire/currify pnpm dlx jsr add @embers-of-the-fire/currify bunx jsr add @embers-of-the-fire/currify
Usage
Here's a simple example of how to use Currify:
import { currify } from 'currify'; const add = (a: number, b: number): number => a + b; const curriedAdd = currify(add); console.log(curriedAdd(1)(2)); // Output: 3
License
This project is licensed under the MIT License OR the Apache-2.0 License.
Add Package
deno add jsr:@embers-of-the-fire/currify
Import symbol
import * as currify from "@embers-of-the-fire/currify";
Import directly with a jsr specifier
import * as currify from "jsr:@embers-of-the-fire/currify";
Add Package
pnpm i jsr:@embers-of-the-fire/currify
pnpm dlx jsr add @embers-of-the-fire/currify
Import symbol
import * as currify from "@embers-of-the-fire/currify";
Add Package
yarn add jsr:@embers-of-the-fire/currify
yarn dlx jsr add @embers-of-the-fire/currify
Import symbol
import * as currify from "@embers-of-the-fire/currify";
Add Package
vlt install jsr:@embers-of-the-fire/currify
Import symbol
import * as currify from "@embers-of-the-fire/currify";
Add Package
npx jsr add @embers-of-the-fire/currify
Import symbol
import * as currify from "@embers-of-the-fire/currify";
Add Package
bunx jsr add @embers-of-the-fire/currify
Import symbol
import * as currify from "@embers-of-the-fire/currify";