List amount of files in a folder

0

I'm working on a small system and am using web for N reasons, easy to customize, working full screen (f11), everything is flowing just fine. I came in a part that I need to list the amount of files that are within a certain directory and I saw that it is impossible to do with JavaScript but I can use Node.js .. However, I find it so bad having to install Node.js just to run 4 lines of code, will break my idea until the system super light.

Is there any way around this? Any way to get the amount of files that are inside a directory?

Thank you.

(Just confirming, if I develop using Node.js the client will also need to have it installed, correct?)

    
asked by anonymous 11.01.2018 / 17:32

0 answers