https://github.com/afeiship/qs
A tiny querystring parser.
https://github.com/afeiship/qs
decode encode parse qs querystring stringify
Last synced: about 2 months ago
JSON representation
A tiny querystring parser.
- Host: GitHub
- URL: https://github.com/afeiship/qs
- Owner: afeiship
- License: mit
- Created: 2016-10-28T12:43:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-08-27T15:36:41.000Z (almost 2 years ago)
- Last Synced: 2025-02-07T12:30:39.969Z (4 months ago)
- Topics: decode, encode, parse, qs, querystring, stringify
- Language: TypeScript
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# qs
> A tiny querystring parser.[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]## installation
```shell
npm install @jswork/qs
```## usage
```js
import qs from '@jswork/qs';qs.parse('a=1&b=2'); // { a: '1', b: '2' }
qs.stringify({ a: 1, b: 2 }); // a=1&b=2
```## license
Code released under [the MIT license](https://github.com/afeiship/qs/blob/master/LICENSE.txt).[version-image]: https://img.shields.io/npm/v/@jswork/qs
[version-url]: https://npmjs.org/package/@jswork/qs[license-image]: https://img.shields.io/npm/l/@jswork/qs
[license-url]: https://github.com/afeiship/qs/blob/master/LICENSE.txt[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/qs
[size-url]: https://github.com/afeiship/qs/blob/master/dist/index.js[download-image]: https://img.shields.io/npm/dm/@jswork/qs
[download-url]: https://www.npmjs.com/package/@jswork/qs