# @apimatic/http-query

> This package provides utilities for encoding and formatting URL query parameters.

Latest version **0.3.9** (published 2025-11-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install @apimatic/http-query
pnpm add @apimatic/http-query
yarn add @apimatic/http-query
bun add @apimatic/http-query
```

## Health

**Score 65/100 (B)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.3.9 |
| Published | 2025-11-04 |
| First published | 2023-01-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=14.15.0 \|\| >=16.0.0 |
| Dependencies | 3 |
| Unpacked size | 28 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | APIMatic Ltd. |
| Maintainers | apimaticdev, mehdi991, maryamadnan3, hamzamahmood, aliasghar1070, talhafaheem |

## Links

- npm: https://www.npmjs.com/package/@apimatic/http-query
- Repository: https://github.com/apimatic/apimatic-js-runtime
- Homepage: https://github.com/apimatic/apimatic-js-runtime#readme
- Issues: https://github.com/apimatic/apimatic-js-runtime/issues
- npm.io page: https://npm.io/package/@apimatic/http-query

## Dependencies (3)

- [tslib](https://npm.io/package/tslib.md) ^2.8.1
- [@apimatic/file-wrapper](https://npm.io/package/@apimatic/file-wrapper.md) ^0.3.9
- [@apimatic/core-interfaces](https://npm.io/package/@apimatic/core-interfaces.md) ^0.2.14

## Recent versions

- 0.3.9 (latest) — 2025-11-04
- 0.3.8 — 2025-09-30
- 0.3.8-alpha.1 — 2025-09-29
- 0.3.8-alpha.0 — 2025-09-29
- 0.3.7 — 2025-08-13
- 0.3.6 — 2025-07-11
- 0.3.5 — 2025-05-15
- 0.3.4 — 2024-12-12
- 0.3.3 — 2024-09-27
- 0.3.2 — 2024-05-28
- 0.3.1 — 2023-06-08
- 0.3.0 — 2023-05-18
- 0.2.0 — 2023-04-04
- 0.1.0 — 2023-01-31

## README

# APIMatic HTTP Query Library for JavaScript SDKs

This package provides utilities for encoding and formatting URL query parameters.

The exported functions include:

* **Array Prefix Formats**: Support for indexed, unindexed, plain, comma, tab, and pipe-separated array formats.
* **Complex Object Serialization**: Handles deep object structures and nested arrays in query parameter encoding.
* **File Wrapper Integration**: Automatically detects and processes FileWrapper instances in query parameters.
* **URL Encoding**: Performs proper URL encoding with customizable prefix formats for arrays.

This library is used by JavaScript SDKs generated by the [APIMatic Code Generator](http://www.apimatic.io). For details on supported platforms and build artifacts, see the [Build and Usage Section](https://github.com/apimatic/apimatic-js-runtime?tab=readme-ov-file#builds-and-usage).

---
_Source: https://npm.io/package/@apimatic/http-query · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
