I know my question sounds a bit mouthful, so just let me make my point clear: I need to do something like bringing data from Google Sheet to AWS (i.e. Athena), or vice versa.
However, because Google API is in need anyway, I surprisingly found that require() is not even a function in such kind of JS' twin-like language at all. Therefore, how can we use any third-party libraries on it?
Example (github repo):
const {google} = require('googleapis');