joshsoftware / joshsoftware/peerly

[react-frontend] - Utility function - Object to QueryString

Open
#53 0 comments 0 reactions 1 assignee Claimed by @mayuriardad View on GitHub
enhancement react-frontend
Dominant language
Go
Stars
10
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Create a function that takes following arguments:

- "options" (type: "hash", optional, defaultValue: {} )

and returns stringified version of options hash (using [qs](https://www.npmjs.com/package/qs) package):

Use the following options with `qs` package:

```
{
encode: true,
arrayFormat: "brackets",
addQueryPrefix: true
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.