ajax-hook
unfetch
Our great sponsors
ajax-hook | unfetch | |
---|---|---|
1 | 1 | |
2,527 | 5,684 | |
- | - | |
6.2 | 0.0 | |
7 months ago | 9 months 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.
ajax-hook
-
Mock API in a Chrome extension
Luckily, I found an open-source package called ajax-hook, which has significantly simplified this process. Here is the code with ajax-hook:
unfetch
-
You Might Not Need JQuery
You can use a polyfill such as https://github.com/developit/unfetch (500 bytes).
What are some alternatives?
pjax - Easily enable fast Ajax navigation on any website (using pushState + xhr)
mockoon - Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
sharedworker - A small spec. compliant polyfill for SharedWorkers, it acts as a drop in replacement for normal Workers.
adapter - Shim to insulate apps from spec changes and prefix differences. Latest adapter.js release:
window.fetch polyfill - A window.fetch JavaScript polyfill.
cash - An absurdly small jQuery alternative for modern browsers.
CORSflare - A lightweight JavaScript CORS Reverse Proxy designed to run in a Cloudflare Worker.
hyperscript - Create HyperText with JavaScript.
core-js - Standard Library
eme-encryption-scheme-polyfill - A polyfill to add support for EncryptionScheme queries in EME and MediaCapabilities.
css-paint-polyfill - CSS Custom Paint / Paint Worklet polyfill with special browser optimizations.