employer-style-base
A stack-agnostic Sass library providing basic components and typography intended for the Employer experience
A stack-agnostic Sass library providing basic components and typography intended for the Employer experience
if a function is defined run it with given args
Handle completion and errors with elegance! Support for streams, callbacks, promises, child processes, async/await and sync functions. A drop-in replacement for [async-done][] - pass 100% of its tests plus more
Low-level package to handle completion and errors of sync or asynchronous functions, using [once][] and [dezalgo][] libs. Useful for and used in higher-level libs such as [always-done][] to handle completion of anything.
Small, parallel and fast test framework with suppport for async/await, promises, callbacks, streams and observables. Targets and works at node.js v0.10 and above.
Finds and returns a node-style callback.
Transform sync, async or generator function to Stream. Correctly handle errors and optional arguments.
Promisify all function in an object, using [relike][].
Create promise from sync, async, string, number, array and so on. Handle completion (results) and errors gracefully! Built on top of `relike`, used by `redolent` to build robust (hybrid) APIs.
Make synchronous function or generator to support callback api
Promisify sync, async or generator function, using [relike][]. Kind of promisify, but lower level. Full compatibility with [co][]4 and passing 100% of its tests.
Extends `letta` to accept and handles more than functions only. Handles all kind of results from `letta`. Basically, creating promise from everything - strings, arrays, objects, functions, generators, generator functions, promises, streams, child processe
Promisify, basically, everything. Generator function, callback-style or synchronous function; sync function that returns child process, stream or observable; directly passed promise, stream or child process.
Create callback api for given sync function. Guarantee that given function (sync or async, no matter) will always have callback api and will handle errors correctly.
Convert a callback-style function to an AsyncFunction
An unintrusive, modern, and extremely simple callback-to-promise wrapper that makes no assumptions.
Simple flow control for functions with callbacks
Flexible and cross-platform executing commands. Hybrid, Async and Promise API.
A Promise that's also a callback. Helpful for adapting callback APIs and event emitters for async/await code.
introduce chaos to callbacks (inject errors occasionally)