Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/nevoland/quetch
- Owner: nevoland
- Created: 2023-10-08T16:20:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-12T14:23:21.000Z (8 months ago)
- Last Synced: 2024-04-14T04:19:07.000Z (7 months ago)
- Topics: api, fetch, query
- Language: TypeScript
- Homepage:
- Size: 3.78 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).