quetch
v0.18.1
Published
π Simple abstraction layer over any API.
Downloads
861
Readme
Quetch
π Simple abstraction layer over any API.
Features
- Provides a fully typed query object format
- Queries local data as well as external data (e.g., through
fetch
) - Separates resource requests from API configuration
- Provides error handlers
Usage
Everything is exported from the main entry-point through an ES6 module:
import { fetchLocal, combine } from "quetch";
import type { Query } from "quetch";
Installation
Install with the Node Package Manager:
npm install quetch
Documentation
Documentation is generated here.