Query String

    Serialize an object to a query string.
    Optionally override the default separator () and assignment ('=')
    characters.

    Options object may contain encodeURIComponent property (querystring.escape by default),
    it can be used to encode string with encoding if necessary.

    Deserialize a query string to an object.
    Optionally override the default separator ('&') and assignment ('=')
    characters.

    Options object may contain maxKeys property (equal to 1000 by default), it’ll
    be used to limit processed keys. Set it to 0 to remove key count limitation.

    Example:

    The escape function used by querystring.stringify,
    provided so that it could be overridden if necessary.

    It will try to use decodeURIComponent in the first place,
    but if that fails it falls back to a safer equivalent that
    doesn’t throw on malformed URLs.