# jsonqs

> A simple module provides utilities for parsing and formatting URL query strings with JSON.

Latest version **0.1.0** (published 2019-06-20) · MIT license · 0 weekly downloads

## Install

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

## 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.0 |
| Published | 2019-06-20 |
| First published | 2019-06-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 62.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | kevin3251 |

## Links

- npm: https://www.npmjs.com/package/jsonqs
- npm.io page: https://npm.io/package/jsonqs

## Dependencies (2)

- [lodash.set](https://npm.io/package/lodash.set.md) ^4.3.2
- [querystring](https://npm.io/package/querystring.md) ^0.2.0

## Recent versions

- 0.1.0 (latest) — 2019-06-20

## README

# jsonqs
A simple module provides utilities for parsing and formatting URL query strings with JSON.

```javascript
    import jsonqs from 'jsonqs'

    let data = {
        a: 123,
        b: {
            c: 456,
            d: [789, '#000']
        }
    }
    
    let query = jsonqs.stringify(data)
    console.log(query)
    // output: 'a=123&b.c=456&b.d=789&b.d=%23000'
    
    console.log(jsonqs.parse(query))
    /* 
        output: [Object: null prototype] { a: '123', b: { c: '456', d: [ '789', '#000' ] } }
    */
```

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