Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@spinque/query-api

Package Overview
Dependencies
10
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"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 = {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc