Small library that can be used to backup files to Google Drive
JavaScript
USAGE
constbackup=require("google-drive-backup");// path to load credentials frombackup.defaults.CREDENTIALS_PATH="creds/credentials.json";// path to save/load tokens to/frombackup.defaults.TOKENS_PATH="creds/tokens.json";backup({backupFileName: "database.json",sourceFileName: "path/to/file/to/backup.json",credentialsPath: "path/to/alternative/creds.json",// optionally provide alternative credsincrementVersion: false,// set to true to force writing new file instead of updating existing onepageSize: 100// optionally provide a number of items to load during one request to API (1...1000)}).then(()=>{console.log("file backed up");});