Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get list of filenames in folder

var fs = require('fs');
var files = fs.readdirSync('/assets/photos/');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #filenames #folder
ADD COMMENT
Topic
Name
5+7 =