{"size": 690, "ext": "js", "max_stars_repo_path": "src/urlDecode.js", "max_stars_repo_name": "lindekaer/strman", "max_stars_repo_stars_event_min_datetime": "2016-04-18T11:24:56.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-26T04:31:03.000Z", "max_issues_repo_path": "src/urlDecode.js", "max_issues_repo_name": "lindekaer/strman", "max_issues_repo_issues_event_min_datetime": "2016-04-19T12:33:47.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-12T13:24:15.000Z", "max_forks_repo_path": "src/urlDecode.js", "max_forks_repo_name": "lindekaer/strman", "max_forks_repo_forks_event_min_datetime": "2016-04-19T12:00:21.000Z", "max_forks_repo_forks_event_max_datetime": "2021-08-01T04:20:48.000Z"}
{"max_stars_count": 2212, "max_issues_count": 73, "max_forks_count": 118, "avg_line_length": 24.6428571429, "max_line_length": 86, "alphanum_fraction": 0.647826087}
// @form
/**
 * @module urlDecode
 * @description
 * Decodes URL-encoded string
 * ## Install
 * Install all functions of strman
 * ```sh
 * yarn add strman
 * ```
 * or just the urlDecode function
 * ```sh
 * yarn add strman.urldecode
 * ```
 * ## Usage
 * ```javascript
 * import { urlDecode } from 'strman'
 * // OR
 * import urlDecode from 'strman.urldecode'
 * ```
 * @param {String} value - The string to be decoded
 * @example
 * urlDecode('https://github.com/dleitee/strman/&name=%C3%A1%C3%A9%C3%AD%C3%B3%C3%BA')
 * // => 'https://github.com/dleitee/strman/&name=áéíóú'
 * @returns {String} Returns the decoded string.
 */
export default (value: string): string => decodeURI(value)
