quetch 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,16 +4,18 @@
|
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
6
|
|
|
7
|
-
- Provides a
|
|
8
|
-
-
|
|
7
|
+
- Provides a fully typed query object format
|
|
8
|
+
- Queries local data as well as external data (e.g., through `fetch`)
|
|
9
|
+
- Separates resource requests from API configuration
|
|
9
10
|
- Provides error handlers
|
|
10
11
|
|
|
11
12
|
## Usage
|
|
12
13
|
|
|
13
14
|
Everything is exported from the main entry-point through an ES6 module:
|
|
14
15
|
|
|
15
|
-
```
|
|
16
|
-
import {
|
|
16
|
+
```typescript
|
|
17
|
+
import { fetchLocal, combine } from "quetch";
|
|
18
|
+
import type { Query } from "quetch";
|
|
17
19
|
```
|
|
18
20
|
|
|
19
21
|
## Installation
|