# qrystr-parse-170615

> Reduced version of qrystr: Takes the minimalism further for cases where you only need decoding of very simple QS.

Latest version **0.1.6** (published 2018-02-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install qrystr-parse-170615
pnpm add qrystr-parse-170615
yarn add qrystr-parse-170615
bun add qrystr-parse-170615
```

## 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.6 |
| Published | 2018-02-04 |
| First published | 2017-06-16 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | M.K. |
| Maintainers | mk-pmb |
| Keywords | parse, querystring |

## Links

- npm: https://www.npmjs.com/package/qrystr-parse-170615
- Repository: https://github.com/mk-pmb/qrystr-parse-170615-js
- Homepage: https://github.com/mk-pmb/qrystr-parse-170615-js#readme
- Issues: https://github.com/mk-pmb/qrystr-parse-170615-js/issues
- npm.io page: https://npm.io/package/qrystr-parse-170615

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 0.1.6 (latest) — 2018-02-04
- 0.1.5 — 2017-11-14
- 0.1.4 — 2017-09-11
- 0.1.2 — 2017-09-11
- 0.1.0 — 2017-06-16

## README

<!--#echo json="package.json" key="name" underline="=" -->
qrystr-parse-170615
===================
<!--/#echo -->

<!--#echo json="package.json" key="description" -->
Reduced version of qrystr: Takes the minimalism further for cases where you
only need decoding of very simple QS.
<!--/#echo -->


* "very simple QS" includes treating `…&flag&…` the same as `…&flag=&…`,
  i.e. as an empty string value. If you want `true` instead,
  use the `qrystr` module.


Still too large a library? You might not need any at all:
[URLSearchParams][usp-mdn] are now [widely supported][usp-ciu].

  [usp-mdn]: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams
  [usp-ciu]: https://caniuse.com/#feat=urlsearchparams


Usage
-----

from [test/all.js](test/all.js):

<!--#include file="test/all.js" start="  //#u" stop="  //#r"
  outdent="  " code="javascript" -->
<!--#verbatim lncnt="17" -->
```javascript
var refQSmod = require('querystring'),
  pqs = require('qrystr-parse-170615'),
  slim = require('qrystr-parse-170615/slim');

function verify(qs) {
  var ex = ((typeof qs === 'string') && refQSmod.parse(qs));
  if (!ex) {
    ex = qs;
    qs = refQSmod.stringify(ex);
  }
  eq(pqs(qs), ex);
  eq(slim(qs), ex);
}

verify({ hello: 'world', '23': '42', 'úmlæütè': 'µ¶§°¹²³±' });
```
<!--/include-->



<!--#toc stop="scan" -->



Known issues
------------

* Needs more/better tests and docs.




&nbsp;

License
-------
<!--#echo json="package.json" key=".license" -->
ISC
<!--/#echo -->

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