# ezqs

> Returns an object of query string key-value pairs based on a URL paramater

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

## Install

```sh
npm install ezqs
pnpm add ezqs
yarn add ezqs
bun add ezqs
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2017-05-26 |
| First published | 2017-05-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Rosel Padilla |
| Maintainers | roselpadilla |
| Keywords | querystring, query-string, util, javascript, query, string, lib, objects, object, hash |

## Links

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

## 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

- 0.1.4 (latest) — 2017-05-26
- 0.1.3 — 2017-05-26
- 0.1.2 — 2017-05-25
- 0.1.1 — 2017-05-25
- 0.1.0 — 2017-05-25

## README

# ezqs
Returns an object of query string key-value pairs based on a URL paramater

### API
By Deafult you pass the `ezqs` function a URL to parse.

`ezqs(<url>)` returns an object of all of the query strings in the `<url>` you passed in.

#### Examples
```javascript
var url = window.location.href;
//'https://rosel.io?cool=yes&lame=nope&hacks=duh'
var queryStringObj = ezqs(url);

console.log(queryStringObj);
// would log: { cool: "yes", hacks: "duh", lame: "nope" }
```

```javascript
console.log(ezqs('https://rosel.io?foo=bar&boop=bop'));
// would log: { foo: "bar", boop: "bop" }
```

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