fs-prober is a browser-friendly NPM package for extracting file and folder structures from user-selected files or directories.