Skip to content

Commit

Permalink
docs: Add description for encodeUri
Browse files Browse the repository at this point in the history
  • Loading branch information
HYOSITIVE committed Apr 22, 2024
1 parent 9554c80 commit 2b6f5e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -3085,6 +3085,7 @@ Requires the string value to be a valid [RFC 3986](http://tools.ietf.org/html/rf
- `relativeOnly` - Restrict only relative URIs. Defaults to `false`.
- `allowQuerySquareBrackets` - Allows unencoded square brackets inside the query string. This is **NOT** RFC 3986 compliant but query strings like `abc[]=123&abc[]=456` are very common these days. Defaults to `false`.
- `domain` - Validate the domain component using the options specified in [`string.domain()`](#stringdomainoptions).
- `encodeUri` - Encodes the uri with non-alphabetical characters. Defaults to `false`.

```js
// Accept git or git http/https
Expand Down

0 comments on commit 2b6f5e5

Please sign in to comment.