Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nevoland/quetch

🍋 Simple resource querying tool.
https://github.com/nevoland/quetch

api fetch query

Last synced: about 12 hours ago
JSON representation

🍋 Simple resource querying tool.

Awesome Lists containing this project

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:

```typescript
import { fetchLocal, combine } from "quetch";
import type { Query } from "quetch";
```

## Installation

Install with the [Node Package Manager](https://www.npmjs.com/package/quetch):

```bash
npm install quetch
```

## Documentation

Documentation is generated [here](doc/README.md).