Registry / database / jinqu-axios

jinqu-axios

JSON →
library2.0.1jsnpmunverified

Jinqu Axios is an Ajax provider for the Jinqu querying infrastructure, enabling Linq-style query operations on top of Axios HTTP requests. As of version 2.0.1, the package is stable and actively maintained. It supports TypeScript and integrates with Axios for data fetching, allowing developers to compose queries with familiar Linq methods. Compared to native Axios, Jinqu adds query composition capabilities like filtering, mapping, and aggregation, while relying on Axios for HTTP execution. Release cadence is moderate, with focus on compatibility with Jinqu core.

npm install jinqu-axios
INSTALL
IMPORT
SIG · JINQU-AXIOS
J
jinqu-axios
databasejavascriptv2.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AxiosProvider
import { AxiosProvider } from 'jinqu-axios'
const { AxiosProvider } = require('jinqu-axios')
TypeScript/ESM only; package is ESM-first. CommonJS not supported.
default
import JinquAxios from 'jinqu-axios'
Default export may not exist; prefer named AxiosProvider.
AxiosRequestSettings
import type { AxiosRequestSettings } from 'jinqu-axios'
Type only; not a runtime value.

Shows how to create an AxiosProvider, build a query with a where filter, and execute it to get an array.

import { AxiosProvider } from 'jinqu-axios'; import { Queryable } from 'jinqu'; interface User { id: number; name: string; } const provider = new AxiosProvider(); const query = new Queryable<User>(provider, 'https://api.example.com/users'); const result = await query.where(u => u.id > 5).toArray(); console.log(result);
Debug
Known issues
breakingPackage dropped CommonJS support in v2.0.0
fix
Use ESM imports with 'import' syntax. If required, pin to v1.x.
affects: >=2.0.0
deprecatedAxiosProvider constructor no longer accepts config object
fix
Use provider constructor without arguments or set options after instantiation.
affects: >=2.0.0
gotchaAxiosProvider requires both jinqu and axios to be installed
fix
Install missing dependencies: npm install jinqu axios
affects: >=1.0.0
Errors
Common errors & fixes
Cannot find module 'jinqu-axios'
Package not installed or wrong import path
fix
Run: npm install jinqu-axios
Cannot use import statement outside a module
CommonJS project trying to use ESM-only package
fix
Set 'type': 'module' in package.json or use dynamic import()
AxiosProvider is not a constructor
Wrong import (e.g., default vs named)
fix
Use: import { AxiosProvider } from 'jinqu-axios'
Upgrade
Version history
2.0.1latest on npm
Audit
Dependencies
jinqurequiredCore Jinqu library providing query infrastructure
axiosrequiredHTTP client used for executing requests
Agent activity
8 hits · last 30 days
node
8
Resources
jinqu-axios — npm install jinqu-axios · libregistry