Created
June 22, 2022 03:53
-
-
Save rahulbanerjee26/97f942b30327594d802706bc50abaa1c 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'); | |
fileSystem.readFile('content.txt','utf8',(err,data) =>{ | |
if(err){ | |
console.error(err); | |
return; | |
} | |
console.log(data); | |
} ); | |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment