Skip to content

Commit ee5deb5

Browse files
created decode filter
1 parent 9aef643 commit ee5deb5

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/decode.filter.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
export function DecodeFilter() {
2+
3+
return decode;
4+
5+
6+
/**
7+
* Decode an encoded URL string
8+
*
9+
* @param {String} input
10+
* @return {String} output
11+
*/
12+
function decode(input) {
13+
return decodeURI(input);
14+
}
15+
16+
}
17+

0 commit comments

Comments
 (0)