# parse-url-query

> an easy url parser

Latest version **1.0.1** (published 2017-05-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install parse-url-query
pnpm add parse-url-query
yarn add parse-url-query
bun add parse-url-query
```

## 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.0.1 |
| Published | 2017-05-05 |
| First published | 2017-02-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | JailBreak |
| Maintainers | jailbreakc |
| Keywords | url, query |

## Links

- npm: https://www.npmjs.com/package/parse-url-query
- Repository: https://github.com/JailBreakC/parse-url-query
- Homepage: https://github.com/JailBreakC/parse-url-query#readme
- Issues: https://github.com/JailBreakC/parse-url-query/issues
- npm.io page: https://npm.io/package/parse-url-query

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2017-05-05
- 1.0.0 — 2017-02-15

## README

# parse-url-query
a url-query parser
 
## url解析类

### 使用方法

	var urlQuery = new UrlQuery(window.location.href);


	urlQuery.push({page: '{{number}}'}).toString(false) # "?page={{number}}"

	urlQuery.push({page: '{{number}}'}).toString()      # "?page=%7B%7Bnumber%7D%7D"

	urlQuery.push({test: 'tt'})

	urlQuery.getObj()                                   # {page: "1", test: "tt"}

	urlQuery.getUrl();                                  # "http://example.com/?page=%7B%7Bnumber%7D%7D"

	urlQuery.del('page').getUrl();                      # "http://example.com/?test=tt"

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