const fs = require('fs');
const stat = fs.statSync("file path");
console.log(stat.size);
Created
January 30, 2019 21:25
-
-
Save koji/16ddd13f669c8ab479fa0097fe183185 to your computer and use it in GitHub Desktop.
get file size with nodejs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment