cofx
conclure
cofx | conclure | |
---|---|---|
2 | 10 | |
94 | 187 | |
- | - | |
0.0 | 0.0 | |
almost 2 years ago | over 1 year ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
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.
cofx
- I Avoid Async/Await
-
I wrote a tiny generator runner that transparently concludes yielded promises, iterators, and effects, making your async flows cancellable and testable.
Nice! I wrote something similar awhile back, also inspired by redux-saga: https://github.com/neurosnap/cofx
conclure
- Await resolved promises without inserting ticks
-
[AskJS] JavaScript Libraries
My tiny generator runner https://github.com/dmaevsky/conclure made it briefly to the HN top page and gained 100 stars on GH in a week, but I've never done any promotion ever since.
-
[AskJS] Where will I need to write generator functions?
I wrote a super-lightweight alternative to Redux-Saga called Conclure (https://github.com/dmaevsky/conclure) which quite literally allows for a drop-in replacement of async/await -> function*/yield. The advantages you get on the other hand are flow cancellation, testability, and synchronous completion whenever possible. These turned out so consequential in so many cases that in my company we literally reject PRs if they contain the word "async" :)
- Conclure JavaScript: Cancellable async routines for JavaScript
- I wrote a tiny generator runner that transparently concludes yielded promises, iterators, and effects, making your async flows cancellable and testable.
- Show HN: ConclureJS: a tiny generator runner. Promises can now be deprecated
What are some alternatives?
async-sema - Semaphore using `async` and `await`
pechkin - Asynchronous Node.js file upload (multipart/form-data) handling.
boxed - Essential building-blocks for functional & safe TypeScript code
axios-cache-interceptor - 📬 Small and efficient cache interceptor for axios. Etag, Cache-Control, TTL, HTTP headers and more!
async - Easily run code asynchronously
tw-classed
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
Bumble - A small JavaScript game framwork
redux-saga - An alternative side effect model for Redux apps
js-csp - CSP channels for Javascript (like Clojurescript's core.async, or Go)
async - Async utilities for node and the browser
d3 - Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada: