Created
April 11, 2020 09:01
-
-
Save Mayankgupta688/e5a87dc2b2e965ee550bd68d2cd71bf0 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
var fs = require("fs"); | |
var writableStream = fs.createWriteStream("./sampleFile.txt"); | |
writableStream.write("This is Sample Data. "); | |
writableStream.write("This is Other Data. "); | |
console.log("Check File 'sampleFile.txt' for the Steam Data"); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment