Avoiding XMLHTTPRequest when using official Asana node.js API in Google Apps Script

Hi
I am trying to us the official node API with a Google App Script project and webpacking all the cod down to a single file.
The challenge I have is that the ‘request’ dependency (and the request-browser sub-dependency) attempt to use XMLHttpRequest for the API HTTP requests which is not available in the GAS runtime.
Is there a way to provide an alternative implementation to the request layer?
Thanks for any pointers
Regards,
Matthew

What about extracting the code of the entire Asana library (it is fairly small) and then re-code that small part?