Format a query string from a key-value object
$ npm install @f/format-qs
var formatQs = require('@f/format-qs')
formatQs({a: 1, b: 2}) === 'a=1&b=2'
params
- An object consisting of key/value pairs to be encoded into a URL query string
Returns: An encoded query string from the key/values of params
.
MIT