Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@spinque/query-api

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spinque/query-api - npm Package Compare versions

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc