Javascript doesn't have access to write data to files as it runs on client browsers, but node has as it runs on server. This helps us to log user activities into files for monitoring or reporting. Also we can create files on the go dynamically upon meeting certain conditions
Great tutorial ❤
Thank you Prince
readFile SYNc and readFile same concept aanoo ,synchronous condition nookiyitt readFilesync upayookikkanooo
Readfile use cheyyunnath ningalk correct file size ariyaam, athupole cheriya file aanu, ath performance ne impact cheyyilla enkilokkeyaanu... Ath non-blocking aayirikkum
Readfilesync execution pause cheyyum file full read aakunnathvare ... Valiya file aanu read cheyyan nokkunnathenkil ith performance issues undakkan chance und
Hi, what is the use of reading and writing files ? I mean, can't we directly go read and write files ?
Javascript doesn't have access to write data to files as it runs on client browsers, but node has as it runs on server. This helps us to log user activities into files for monitoring or reporting. Also we can create files on the go dynamically upon meeting certain conditions