It would be useful to have this library available directly within the browser.
Has this been considered already? Are there any methods that can't be replicated in the browser?
Based on a quick skim I would imagine that replacing request and require with corresponding fetch calls might be sufficient. (Other option would be to rollup all require calls for the courier inclusions in one chunk)
It would be useful to have this library available directly within the browser.
Has this been considered already? Are there any methods that can't be replicated in the browser?
Based on a quick skim I would imagine that replacing
requestandrequirewith correspondingfetchcalls might be sufficient. (Other option would be to rollup allrequirecalls for the courier inclusions in one chunk)