# component-querystring

> Simple key/value pair query-string parsing

Latest version **2.0.1** (published 2021-02-02) · 0 weekly downloads

## Install

```sh
npm install component-querystring
pnpm add component-querystring
yarn add component-querystring
bun add component-querystring
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2021-02-02 |
| First published | 2014-06-12 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 143.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 34 |
| Maintainers | timaschew, trevorgerhardt, tootallnate, stephenmathieson, hughsk, jongleberry |

## Links

- npm: https://www.npmjs.com/package/component-querystring
- Repository: https://github.com/component/querystring
- Homepage: https://github.com/component/querystring#readme
- Issues: https://github.com/component/querystring/issues
- npm.io page: https://npm.io/package/component-querystring

## Dependencies (2)

- [trim](https://npm.io/package/trim.md) 1.0.0
- [component-type](https://npm.io/package/component-type.md) 1.1.0

## Recent versions

- 2.0.1 (latest) — 2021-02-02
- 2.0.0 — 2015-07-17
- 1.3.3 — 2015-03-28
- 1.3.2 — 2015-03-16
- 1.3.1 — 2014-06-12

## README

# querystring

  Simple key / value pair query-string parser and formatter.

## Installation

```
$ component install component/querystring
```

## API

### .parse(string)

  Parse the given query `string`:

```js
var query = require('querystring');
query.parse('name=tobi&species=ferret');
// => { name: 'tobi', species: 'ferret' }
```

### .stringify(object)

  Stringify the given `object`:

```js
var query = require('querystring');
query.stringify({ name: 'tobi', species: 'ferret' });
// => "name=tobi&species=ferret"
```

## License

  MIT

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