Last active
April 13, 2018 12:50
-
-
Save pste/5f92b09542f13f6d04298e0cc05910f2 to your computer and use it in GitHub Desktop.
sniffing list-of-files info (node.js)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var allstats = filelist.map(filename => ({name: filename, path: path.parse(filename), stats: fs.statSync(filename) })); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment