vanilla js membaca semua file di direktori

var fs = require('fs');
var files = fs.readdirSync('/downloads');
Victorious Vicuña