# @types/url-search-params

> TypeScript definitions for url-search-params

Latest version **1.1.2** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/url-search-params
pnpm add @types/url-search-params
yarn add @types/url-search-params
bun add @types/url-search-params
```

## Health

**Score 45/100 (D)** — status: abandoned.

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

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2023-11-07 |
| First published | 2017-08-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/url-search-params
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/url-search-params
- npm.io page: https://npm.io/package/@types/url-search-params

## Recent versions

- 1.1.2 (latest) — 2023-11-07
- 1.1.0 (ts2.1) — 2018-12-25
- 0.10.2 (ts2.0) — 2018-07-14
- 1.1.1 — 2023-10-18
- 0.10.1 — 2018-01-17
- 0.10.0 — 2017-08-25

## README

# Installation
> `npm install --save @types/url-search-params`

# Summary
This package contains type definitions for url-search-params (https://github.com/WebReflection/url-search-params).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/url-search-params.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/url-search-params/index.d.ts)
````ts
/**
 * Based on definitions of lib.dom and  lib.dom.iteralbe
 */
declare class URLSearchParams {
    constructor(init?: string[][] | Record<string, string> | string | URLSearchParams);

    append(name: string, value: string): void;
    delete(name: string): void;
    get(name: string): string | null;
    getAll(name: string): string[];
    has(name: string): boolean;
    set(name: string, value: string): void;
    sort(): void;
    forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void;
    [Symbol.iterator](): IterableIterator<[string, string]>;

    entries(): IterableIterator<[string, string]>;
    keys(): IterableIterator<string>;
    values(): IterableIterator<string>;
}

export = URLSearchParams;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [Nick](https://github.com/nick121212), and [Neha](https://github.com/nrathi).

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