How would I do require('googleapis') in a worker?

My question is pretty straightforward:

How would I do
const { google } = require('googleapis')

In a worker?
Was this page helpful?