Yab is a high-level HTTP client based on Fetch API and koa-like
middlewares.
This library can only be used in modern browser environment. Polyfill may be needed.
npm install yab-fetch
yarn add yab-fetch
<script src="https://unpkg.com/yab-fetch.min.js"></script>
See full documents, please read Yab-fetch.
This repository is a monorepo that we manage using Lerna. That means that we actually publish several packages to npm from the same codebase, including:
Package | Version | Description |
---|---|---|
yab-fetch |
The fetch library. | |
yab-fetch-cache |
A yab middleware, focus on cache response using IndexDB. |
Detailed changes for each release are documented in CHANGELOG.md.
Thanks goes to the wonderful people.