# @types/simple-query-string

> TypeScript definitions for simple-query-string

Latest version **1.3.6** (published 2024-10-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/simple-query-string
pnpm add @types/simple-query-string
yarn add @types/simple-query-string
bun add @types/simple-query-string
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 1.3.6 |
| Published | 2024-10-23 |
| First published | 2019-10-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51442 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/simple-query-string
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simple-query-string
- npm.io page: https://npm.io/package/@types/simple-query-string

## Recent versions

- 1.3.6 (latest) — 2024-10-23
- 1.3.5 (ts4.7) — 2023-11-21
- 1.3.1 (ts3.6) — 2021-05-28
- 1.3.4 — 2023-11-07
- 1.3.3 — 2023-10-18
- 1.3.2 — 2023-09-25
- 1.3.0 — 2019-10-22

## README

# Installation
> `npm install --save @types/simple-query-string`

# Summary
This package contains type definitions for simple-query-string (https://github.com/khalidsalomao/simple-query-string#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simple-query-string.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simple-query-string/index.d.ts)
````ts
declare const qs: {
    version: string;

    parse: (
        str: string,
        delimeter?: string,
        eq?: string,
    ) => {
        [key: string]: string | string[] | null;
    };

    stringify: <T>(
        obj: {
            /* eslint-disable-next-line @typescript-eslint/no-unsafe-function-type */
            [key: string]: T extends Function ? never
                : T extends string | number | boolean | object | null | undefined ? T
                : never;
        },
        delimeter?: string,
        eq?: string,
    ) => string;
};

export = qs;

````

### Additional Details
 * Last updated: Wed, 23 Oct 2024 03:36:41 GMT
 * Dependencies: none

# Credits
These definitions were written by [Ciarán Ingle](https://github.com/inglec-arista).

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