quetch
TypeScript icon, indicating that this package has built-in type declarations

0.14.0Β β€’Β PublicΒ β€’Β Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i quetch

Weekly Downloads

19

Version

0.14.0

License

MIT

Unpacked Size

262 kB

Total Files

345

Last publish

Collaborators

  • davidbonnet