# saleh_query_parser

> Quickly parse your querystring to json.

Latest version **1.1.0** (published 2022-08-26) · ISC license · 0 weekly downloads

## Install

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

## 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.1.0 |
| Published | 2022-08-26 |
| First published | 2022-08-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Saleh Shirvani |
| Maintainers | saleh.shirvani |
| Keywords | query, parser, JSON, URL, queryParser |

## Links

- npm: https://www.npmjs.com/package/saleh_query_parser
- Repository: https://github.com/saleh-sh/query_string_parser
- Homepage: https://github.com/saleh-sh/query_string_parser/blob/main/README.md
- Issues: https://github.com/saleh-sh/query_string_parser/issues
- npm.io page: https://npm.io/package/saleh_query_parser

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.1.0 (latest) — 2022-08-26
- 1.0.0 — 2022-08-19

## README

# query_string_parser
this project is built to parse a querystring of an URL.<br/>
it takes your URL and gives you a JSON object which contains each valid key-value pair in the URL.<br/>

you can install the package using `npm i saleh_query_parser` command.<br/>
after installation you have to require the module to use it in your project. like bellow:<br/>

```
const parser = require('saleh_query_parser')
```
then you can use parser as a function. like this:<br/>

```
const parsed_query_string = parser('http://localhost/users?name=john&age=30')
```
the result will be:<br/>

```
{
    name:john,
    age:30
}
```

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