Last active
May 26, 2022 05:45
-
-
Save HussainArif12/7fa5e75b4d1d32269a5e03b47bb9c1d0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
async function saveToFile(html) { | |
await fs.writeFile("./content.html", html, "utf-8"); | |
console.log("file saved to " + process.cwd() + "/content.html"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment