Search results

26 packages found

Variadic y-combinator for recursive anonymous functions

published version 2.0.1, 5 years ago5 dependents licensed under $MIT
233,319

TypeScript meta functions for (especially variadic) meta programming

published version 2.0.0, 2 years ago5 dependents licensed under $MIT
119,161

Parse function arguments. Useful to implement variadic functions.

published version 4.0.4, 5 years ago315 dependents licensed under $MIT
21,872

Creates a variadic function, with a “rest parameter” that’s NOT at the end.

published version 1.1.0, 7 years ago6 dependents licensed under $MIT
2,890

Tiny goodies for Continuation-Passing-Style functions

published version 6.2.0, 5 months ago0 dependents licensed under $MIT
656

decurry is the 'reverse' of curry: given a composed function `fn(arg1)(arg2)(arg3)` it returns a function that can be called as `fn(arg1, arg2, arg3)` or `fn(arg1, arg2)(arg3) etc.`

published version 2.0.1, 7 years ago5 dependents licensed under $MIT
119

Swiss Army knife for variadic functions

published version 1.3.1, 8 years ago14 dependents licensed under $MIT
147

Create functions with different argument signatures for different code flows

published version 1.4.5, 5 years ago3 dependents licensed under $MIT
83

Variadic deep recursive merge of objects

published version 1.0.16, 6 years ago0 dependents licensed under $MIT
52

Parse arguments correctly for variadic functions

published version 0.0.413, 7 years ago1 dependents licensed under $MIT
40

Easy curry. Just what you need.

published version 1.2.1, 2 years ago0 dependents licensed under $MIT
34

Very fast way to turn a function's `arguments` into an array.

published version 1.0.0, 8 years ago7 dependents licensed under $MIT
31

A ES6 library of useful variadic functions.

published version 0.0.26, 7 years ago0 dependents licensed under $MIT
31

Convert various arguments into a ByteArray

published version 1.0.4, 6 years ago2 dependents licensed under $MIT
20

动态函数,类似于多态函数,但不限于按参数类型条件切换执行体

published version 0.0.3, 5 years ago1 dependents licensed under $ISC
13

Remember everything, for better or for worse

published version 0.2.0, 9 years ago0 dependents licensed under $MIT
11

Guess the maximum number of arguments the given function will consume.

published version 1.0.0, 4 years ago0 dependents licensed under $MIT
9

Maps with variadic key input

published version 0.2.1, 9 years ago0 dependents licensed under $MIT
8

node.js variable arguments simplified

published version 0.0.4, 8 years ago0 dependents licensed under $MIT
7

A class for easily writing js middlewares

published version 3.1.1, 4 years ago0 dependents licensed under $MIT
6