urlDecode

Decodes URL-encoded string

Install

Install all functions of strman

yarn add strman

or just the urlDecode function

yarn add strman.urldecode

Usage

import { urlDecode } from 'strman'
// OR
import urlDecode from 'strman.urldecode'
Parameters:
Name Type Description
value String

The string to be decoded

Source:
Returns:

Returns the decoded string.

Type
String
Example
urlDecode('https://github.com/dleitee/strman/&name=%C3%A1%C3%A9%C3%AD%C3%B3%C3%BA')
// => 'https://github.com/dleitee/strman/&name=áéíóú'