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