decode-uri-component
- Version 0.4.1
- Published
- 6.52 kB
- No dependencies
- MIT license
Install
npm i decode-uri-component
yarn add decode-uri-component
pnpm add decode-uri-component
Overview
A better decodeURIComponent
Index
Functions
Functions
function decodeUriComponent
decodeUriComponent: (encodedURI: string) => string;
Decodes a Uniform Resource Identifier (URI) component previously created by
encodeURIComponent()
or by a similar routine.Parameter encodedURI
An encoded component of a URI.
Returns
The decoded URI component.
Example 1
decodeUriComponent('st%C3%A5le')//=> 'ståle'
Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (5)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/decode-uri-component
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/decode-uri-component)
- HTML<a href="https://www.jsdocs.io/package/decode-uri-component"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2345 ms. - Missing or incorrect documentation? Open an issue for this package.