Hacker News new | ask | show | jobs
by pythonistah 3623 days ago
It uses Proxy and Promise classes.
1 comments

The point is to take APIs that don't and wrap them with said classes, not to provide an alternative.
What percentage of browsers in use implement Proxy and Promise classes? 40 percent?
Per Can I Use [1], promises are in 74% of browsers (only current major browser not supporting them is IE11) and proxies are in 57% of browsers.

Promise is pretty easily polyfilled for older browsers; proxies are more problematic and I don't know whether or not any of the existing proxy polyfills will work with Allora.

[1] http://caniuse.com/

The data behind their world wide browser stats is questionable. - their combined IE and Edge market share totals to only 8%.

On https://www.netmarketshare.com combined IE market share is 31% and Edge is 5%.

What about IE8-10? I agree with pythonistah, that can-i-use data doesn't really map to real-world usage.
Perhaps they only collect data from browsers hitting their web site?
you got it, there are many libraries on npm doing the same but none was build with less than 50 lines of code