Sync spreadsheet
Usage :
import sync from 'sync-spreadsheet';
const spreadSheetId = "SPREADSHEET_ID";
// Find here -> https://docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit#gid=0
sync({
spreadSheetId, // required
pathMessages: './export', // required
tabIndex: 0, // export specific tab index, if you want export all tabs, don't define this option
}).then(()=> {
console.log('done !');
}).catch((e)=>{
console.log(e);
});