I’m developing an app in Electron and Cordova simultaneously, and am looking for parity between the two. One of the features that is present in Cordova, but not Electron is seeing the remaining space on a device. Maybe it doesn’t make so much sense on desktop, but it’s a feature I’d like to include for completion’s sake.
I’ve looked through the standard Node modules, and can’t see anything that would give me what I need without bringing in a bunch of dependencies.
Has anyone managed to do this, and how can I do the same?