1.0.1 • Published 11 years ago
urldecode v1.0.1
urldecode
urldecode adds try-catch on decodeURLComponent, and return -1 when failing.
Usage
var decode = require('urldecode')
console.log(decode('http://127.0.0.1:3333/Become%20Efficient%20or%20Die.md'));
// http://127.0.0.1:3333/Become Efficient or Die.mdLICENCE
MIT LICENCE