Get folder size in javascript

Viewed 55

What is the best method to get folder size in javascript platform-independent? (I don't want to use 'fs' & 'get-folder-size' as they use recursive methods which are not efficient with large hierarchal directories)

Note - I have a large directory and there will be multiple requests to get 'folder-size' hence I am looking for an alternate to recursive approach.

0 Answers
Related