qs-stringify

Simple query stringify with nesting.

Usage no npm install needed!

<script type="module">
  import qsStringify from 'https://cdn.skypack.dev/qs-stringify';
</script>

README

qs-stringify

Simple query stringify with nesting.

npm github standard

Install

npm install qs-stringify

Usage

var stringify = require('qs-stringify')

stringify({
  page: {
    offset: 50,
    limit: 25
  },
  filter: 'hello world'
})
// → "page[offset]=50&page[limit]=25&filter=hello%20world"

License

MIT