how to get file size in node js ; 1 · fs = require("fs"); //Load the filesystem module ; 2 · stats = fs.statSync("myfile.txt") ; 3 · fileSizeInBytes = ...
確定! 回上一頁