NodeJS Sinhala - Reading & Writing Files (fs)
HTML-код
- Опубликовано: 11 сен 2024
- #PythonSinhala
NodeJS Sinhala (Part 7) - Reading & Writing Files (fs)
Follow me on Instagram
/ ashenishanka
var fs = require('fs');
fs.readFile('mytxt.txt','utf8',function(err,data){
fs.writeFile('writeMe.txt',data,function(err){});
});
great stuff mchn. keep it up
mata oya contact karaganna ona