RFC3986 implementation in Javascript
Via npm package manager
npm install --save r3986
#or with yarn
yarn add r3986
There is only one function from default import
import r3986 from 'r3986'
r3986
takes one string argument, return a RFC3986-encoded string following the definition at RFC3986.