Search results

35 packages found

Set the length of a function.

published version 1.1.0, 8 years ago19 dependents licensed under $MIT
5,879,013

Wraps a function with a function of a sertain arity.

published version 1.0.4, 10 years ago6 dependents licensed under $MIT
4,765,272

Stand-in for a function

published version 1.0.4, 7 years ago5 dependents licensed under $ISC
62,352

Wrap a function in a function that expects a given number of arguments.

published version 2.0.0, 9 years ago4 dependents licensed under $MIT
46,243

A functional JavaScript library that facilitates currying and point-free programming, with optional lambda expressions.

published version 0.8.0, 9 years ago8 dependents
40,149

Dynamic, extensible multiple dispatch via user supplied dispatch function.

published version 3.0.68, 8 days ago18 dependents licensed under $Apache-2.0
3,808

Wrap methods preserving arity.

published version 1.2.3, 6 years ago2 dependents licensed under $MIT
806

A simple wrapper to make variable length arities easier to manage

published version 1.0.4, 10 years ago2 dependents licensed under $MIT
1,312

Create a function that invokes a provided function with a specified number of arguments.

published version 0.2.2, 10 months ago0 dependents licensed under $Apache-2.0
335

Control function arity.

published version 2.1.2, 7 years ago8 dependents licensed under $MIT
326

A function is a set of statements that performs a task or calculates a value.

published version 1.3.3, a month ago3 dependents licensed under $MIT
245

Partially apply function arguments.

published version 0.2.2, 10 months ago1 dependents licensed under $Apache-2.0
101

An async function is a function that delivers its result asynchronously (through Promise).

published version 1.2.1, 2 months ago0 dependents licensed under $MIT
99

An async function is a function that delivers its result asynchronously (through Promise) {web}.

published version 1.2.1, 2 months ago0 dependents licensed under $MIT
74

Partially apply function arguments from the right.

published version 0.2.2, 10 months ago0 dependents licensed under $Apache-2.0
64

A function is a set of statements that performs a task or calculates a value {web}.

published version 1.3.3, a month ago0 dependents licensed under $MIT
66

Easy `Function` subclasses

published version 1.1.0, 9 years ago3 dependents licensed under $MIT
32

Returns function arity (number of possible arguments) supports all ES6 features including argument destructor and default.

published version 0.1.3, 8 years ago1 dependents
28

Tiny curry() and curryN() functions. Resulting functions will have the correct arity (length).

published version 1.0.0, 7 years ago0 dependents licensed under $MIT
17

Higher-order functions that restrict the arity of a function.

published version 0.0.1, 12 years ago1 dependents licensed under $MIT
17