DEV Community


Discussion on: Is JavaScript able to read files from a directory ?

joshx profile image
Jonas Scheffner

It's not possible to get direct access to the file system. That would be extremely unsafe. You could use an input to allow the user to select files but I don't think that's what you're looking for.