We have collection of more than 1 Million open source products ranging from Enterprise product to
small libraries in all platforms. We aggregate information from all open source repositories.
Search and find the best for your needs. Check out projects section.

Generator-based control-flow for Node enabling asynchronous code without callbacks, transpiling, or selling your soul. Suspend is designed to work seamlessly with Node's callback conventions, promises, and thunks, but is also compatible with code that follows other conventions.

A set of high performance yield handlers for Bluebird coroutines.bluebird-co is a reimplementation of tj/co generator coroutines using bluebird, Bluebird.coroutine and Bluebird.coroutine.addYieldHandler to insert a yield handler that can transform all the same yieldable value types as tj/co and more.

Issues with the output should be reported on the Regenerator issue tracker.A small runtime library (less than 1KB compressed) is required to provide the wrapGenerator function. You can install it either as a CommonJS module or as a standalone .js file, whichever you prefer.

Issues with the output should be reported on the Regenerator issue tracker.A small runtime library (less than 1KB compressed) is required to provide the wrapGenerator function. You can install it either as a CommonJS module or as a standalone .js file, whichever you prefer.

Transformer that converts async functions and await expressions into ECMAScript 6 generator functions and yield expressions. Note that this transform is only really useful if you know you're targeting a platform that supports generator functions natively. Otherwise, you're better off using Regenerator, since it has the ability to transform async functions into ES5 without creating immediately-invoked GeneratorFunctions.

relign is a promise based control flow library heavily inspired by async, but goes a bit further. relign treats all functions as values, and thus wherever you can pass a function to relign, it's also fine to pass a value. relign refers to both functions, functions that return promises, promises, and any other value as tasks. relign's utilities are greatly inspired by async. async is one of the most loved libraries on NPM, and there are many very good reasons for this. Async provides a lot of very powerful functions for taking unruly asynchronous code and making it both readable and reasonable. Async does this with the classic error first callback pattern popular in node. relign attempts to achieve a similar set of goals to async, but for promises. It provides a large collection of methods for processing collections of data, and controlling the execution of asynchronous code.

Inject content into a different part of your page. This module adds directives that allow you to store blocks of HTML for use other places in your application. It is inspired by the Ruby on Rails view helper content_for, which is useful when you need to change something outside of the view's own scope.

A header-only C++ stackless coroutine emulation library, providing interface close to N4286. Many of the concepts are similar to N4286, if you're not familiar with the proposal, please read the paper first.

An implementation of continuations in JavaScript. Includes built-in support for breakpoints (implemented with continuations) and setting breakpoints on running scripts. See this post for a deeper explanation and interactive tutorials.