Last active
January 11, 2022 22:20
-
-
Save HussainArif12/ca8ed34a1cefe7b4198808dee8eed140 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function addEntry(text) { | |
xlsx.utils.sheet_add_aoa(sheetValues, [text], { origin: -1 }); //the 'origin' property tells Node to append the entry to the next available row | |
xlsx.writeFile(fileContents, fileLocation); | |
} | |
addEntry(["Cake for girlfriend's birthday", 30]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment