This library polyfills encodeURI/encodeURIComponent to make it RFC3986-compliant.
npm install rfc-encode-uri
Just require this package
require('rfc-encode-uri');
then it will replace encodeURI/encodeURIComponent to a RFC3986-Compliant ones.
RFC3986 Compliant encodeURI/encodeURIComponent polyfill for Node.js
JavaScriptISC
This library polyfills encodeURI/encodeURIComponent to make it RFC3986-compliant.
npm install rfc-encode-uri
Just require this package
require('rfc-encode-uri');
then it will replace encodeURI/encodeURIComponent to a RFC3986-Compliant ones.