adspace


How will you get information about a file using node?

Answer Posted / Smriti Chauhan

You can use the 'fs' (file system) module to get information about a file in Node.js. For example, `fs.stat('filename', function(err, stats) { ... });`

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is node js losing popularity?

590


How we can read a file in node js?

571