contra
when
Our great sponsors
contra | when | |
---|---|---|
- | 3 | |
773 | 3,440 | |
- | -0.2% | |
2.6 | 1.8 | |
about 1 month ago | about 2 years ago | |
JavaScript | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
contra
We haven't tracked posts mentioning contra yet.
Tracking mentions began in Dec 2020.
when
-
If you are making a library, take a good look at this list!
looking at you "When"!
-
I made a small library for handling async events in a type-safe fashion
If you're wondering, number 2 has happened to me years ago, and required debugging a Promises library (back when Promises weren't native): https://github.com/cujojs/when/issues/325
-
Introduction to Asynchronous JavaScript
Promises are a popular way of getting rid of callback hell. Originally it was a type of construct introduced by JavaScript libraries like Q and when.js, but these types of libraries became popular enough that promises are now provided natively in ECMAScript 6.
What are some alternatives?
async - Async utilities for node and the browser
Bluebird - :bird: :zap: Bluebird is a full featured promise library with unmatched performance.
q - A promise library for JavaScript
step - An async control-flow library that makes stepping through logic easy.
ObjectEventTarget - A same behaviour EventTarget prototype, that can work with any object from JavaScript
Javascript State Machine - A javascript finite state machine library
angular-async-loader - Load modules and components asynchronously for angular 1.x application.
modern-async - A modern JavaScript tooling library for asynchronous operations using async/await, promises and async generators