Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nodejs readdir

const fs = require("fs")
fs.readdir("./myfolder", (err, data) => {
	if(err) throw err
  	console.log(data)
})
 
PREVIOUS NEXT
Tagged: #nodejs #readdir
ADD COMMENT
Topic
Name
6+6 =