js-csp
conclure
js-csp | conclure | |
---|---|---|
3 | 10 | |
2,327 | 187 | |
-0.2% | - | |
0.0 | 0.0 | |
almost 2 years ago | over 1 year ago | |
JavaScript | JavaScript | |
- | 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.
js-csp
-
Generators in the wild
js-csp. CSP in js implementation.
-
[AskJS] Where will I need to write generator functions?
If you look at Redux-Saga as others have pointed out, that library is essentially an abstraction over a concurrency primitive known as Communicating Sequential Processes (CSP), which was invented by Tony Hoare (the same person who invented null). This is an alternative to using something like RxJS or the Actor model. If you want to see a more traditional implementation of the CSP idea in JS, have a look at js-csp. And, if you're wondering if they resemble channels in Go, then you are right - it's the exact same idea.
-
Om but in javascript
js-csp for CSP
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?
om - ClojureScript interface to Facebook's React [Moved to: https://github.com/omcljs/om]
pechkin - Asynchronous Node.js file upload (multipart/form-data) handling.
effect-programming-2
axios-cache-interceptor - 📬 Small and efficient cache interceptor for axios. Etag, Cache-Control, TTL, HTTP headers and more!
tw-classed
Bumble - A small JavaScript game framwork
cofx - A node and javascript library that helps developers describe side-effects as data in a declarative, flexible API.
d3 - Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:
redux-saga - An alternative side effect model for Redux apps
ember-concurrency - ember-concurrency is an Ember Addon that enables you to write concise, worry-free, cancelable, restartable, asynchronous tasks.
three.js - JavaScript 3D Library.