Created
June 22, 2022 03:53
-
-
Save rahulbanerjee26/c78f0339cc8e70d575dbec9edc45211d 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
const fileSystem = require('fs'); | |
const data = "File written using a server side module"; | |
fileSystem.writeFile('content.txt',data , err =>{ | |
if(err){ | |
console.error(err); | |
return; | |
} | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment