1.0.0 • Published 8 years ago
recursive-decode v1.0.0
Recursive Decode
Hand any string or url which has been encoded any number of times, and receive a single string back which is decoded and ready to use.
Install
npm install recursive-decode
Usage
var recursiveDecode = require('recursive-decode');
var ourCrazyUrl = 'http%25253A%25252F%25252Fw3schools.com%25252Fmy-test.asp%25253Fname%25253Dst%2525C3%2525A5le%252526car%25253Dsaab';
var ourDecodedUrl = recursiveDecode(recursiveDecode); // returns http://w3schools.com/my-test.asp?name=ståle&car=saab
Easy..
1.0.0
8 years ago