Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get list of files in directory

var fs = require('fs');
var files = fs.readdirSync('/downloads');
 
PREVIOUS NEXT
Tagged: #javascript #list #files #directory
ADD COMMENT
Topic
Name
4+9 =