# workplus-query-string

> Parse and stringify URL

Latest version **1.2.0** (published 2017-09-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install workplus-query-string
pnpm add workplus-query-string
yarn add workplus-query-string
bun add workplus-query-string
```

## 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 | 1.2.0 |
| Published | 2017-09-15 |
| First published | 2016-11-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Hejx |
| Maintainers | hejx |
| Keywords | workplus, query string, url parse |

## Links

- npm: https://www.npmjs.com/package/workplus-query-string
- Repository: https://github.com/WorkPlusFE/workplus-query-string
- Homepage: https://github.com/WorkPlusFE/workplus-query-string#readme
- Issues: https://github.com/WorkPlusFE/workplus-query-string/issues
- npm.io page: https://npm.io/package/workplus-query-string

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.2.0 (latest) — 2017-09-15
- 1.1.0 — 2016-12-26
- 1.0.7 — 2016-11-28
- 1.0.6 — 2016-11-28
- 1.0.5 — 2016-11-26
- 1.0.4 — 2016-11-26
- 1.0.3 — 2016-11-26
- 1.0.2 — 2016-11-22
- 1.0.1 — 2016-11-21

## README

# workplus-query-string [![npm](https://img.shields.io/npm/v/workplus-query-string.svg?maxAge=2592000?style=flat-square)]()

> Parse and stringify URL

## Install

```bash
npm install --save workplus-query-string
```

## Usage

```js
import { parse, stringify, getParam } from 'workplus-query-string';

// If location.search = '?a=1&b=2&c=3'

let params = parse();
// params => {a: "1", b: "2", c: "3"}

let obj = {
    x: 1,
    y: 2,
},

let str = stringify(obj);
// str => 'x=1&y=2'

let val = getParam('a');
// val => '1'

```

## License

MIT

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