@spinque/query-api
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "@spinque/query-api", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -5,4 +5,6 @@ # @spinque/query-api | ||
## Basic usage | ||
## Usage | ||
### Defining queries | ||
Defining a single query: | ||
@@ -30,2 +32,4 @@ | ||
### Fetching results | ||
Fetching results for a single query using an instance of the Api class: | ||
@@ -49,6 +53,8 @@ | ||
### Fetching using custom HTTP-library | ||
Getting the URL for a request to fetch it using your own HTTP-library of preference: | ||
```typescript | ||
import { Api } from '@spinque/query-api'; | ||
import { urlFromQueries } from '@spinque/query-api/utils'; | ||
@@ -55,0 +61,0 @@ const apiConfig = { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
26106
67
0