Skip to content

Instantly share code, notes, and snippets.

View twistedstream's full-sized avatar

Peter Stromquist twistedstream

View GitHub Profile
@LindaLawton
LindaLawton / index.js
Created November 21, 2022 11:57
Example for downloading a file from google drive api using Node.js
// npm install googleapis@105 @google-cloud/[email protected] --save
const fs = require('fs');
const fsp = fs.promises;
const path = require('path');
const process = require('process');
const {authenticate} = require('@google-cloud/local-auth');
const {google} = require('googleapis');