Socket
Book a DemoInstallSign in
Socket
r

ramitos

npm

Packages

Co-maintainers

232 packages

afd

Accrual Failure Detector

apr

Collection of tools to manage control flow of/with Promises - inspired by [caolan/async](https://github.com/caolan/async).

apr-apply

Creates a continuation function with some arguments already applied.

apr-asyncify

Take a sync function and make it async. This is useful for plugging sync functions into a waterfall, series, or other async functions.

apr-awaitify

Transform a callback-based function into a promise-based one.

apr-compose

Creates a function which is a composition of the passed asynchronous functions. Each function consumes the return value of the function that follows. Composing functions f(), g(), and h() would produce the result of f(g(h())).

apr-concat

Applies iteratee to each item in coll, concatenating the results. Returns the concatenated list.

apr-constant

Returns a promise that when called, then's with the values provided. Useful as the first function in a waterfall.

apr-dir

apr-engine-back

apr-engine-console

apr-engine-each

apr-engine-iterator

apr-engine-repeat

apr-engine-run

apr-engine-sum

apr-engine-until

apr-every

Returns true if every element in coll satisfies an async test.

apr-filter

Returns a new array of all the values in coll which pass an async truth test.

apr-find

Returns the first value in coll that passes an async truth test.

apr-foreach

apr-for-each

Applies the function iteratee to each item in coll, in parallel.

apr-intercept

Intercepts errors, the Go way!

apr-log

apr-main

Catches a promise error, writes the stacktrace to stderr and exists