tecurlencoder
v0.0.4
Published
Tool to urlencode obj or strings
Downloads
3
Readme
tecurlencoder
The module works, but only the special characters ?*#&=$%+ßÄÖÜäööü are replaced
Installation
npm i --save tecurlencoder
Usage
const tecURL = new tecurlencoder();
var encode = tecURL.encodeObj( { url: 'http://testdomain?id=123456&name=teko' } );
console.log(encode);
// Result as JSON: // // { url: 'http://testdomain%3Fid%3D123456%26name%3Dteko' }
Methods
encodeObj
encodeString
decodeObj
decodeString