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

0.15.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.

/quetch/

    Package Sidebar

    Install

    npm i quetch

    Weekly Downloads

    39

    Version

    0.15.0

    License

    MIT

    Unpacked Size

    265 kB

    Total Files

    349

    Last publish

    Collaborators

    • davidbonnet