I'm currently working on a small offline HTML app. I want to know if there is a way to list the files from a directory on an HTML page only by using Javascript. I've heard it is not possible due to some security risks. What do you guys think about? If using Javascript is indeed not possible, then what would be the easiest way to do that? I know there would be some Nodejs involved. Or perhaps jquery. Some code would be also helpful.
Thanks in advance!