Skip to content

Instantly share code, notes, and snippets.

@pste
Last active Apr 13, 2018
Embed
What would you like to do?
sniffing list-of-files info (node.js)
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