DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
node get all files in folder
fs.readdir('./', (err, files) => { files.forEach(file => { // console.log(file); })});
PREVIOUS
NEXT
Tagged:
#node
#files
#folder
ADD COMMENT
Topic
COMMENT
Name
7+7 =
Submit