In a non-worker script, I can use the Drive API by loading the client library. But in a worker there is no DOM, and the library assumes that I have it.
Is there a way to use Drive API in a (service) worker? (I need to save files to Drive's appstorage with the sync
event)