Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get list of files in directory

var fs = require('fs');
var files = fs.readdirSync('/downloads');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #list #files #directory
ADD COMMENT
Topic
Name
5+2 =