Converts an object to a url query string or vice-versa

Parameters:
NameTypeDescription
objectobject | string

to encode or string to decode

prefixstring

for encoded string

Version
  • 1.0.0
Returns:

returns encoded string or decoded object

Type: 
object | string