I need to do a secure file deletion within a cross platform electron app, trying to avoid data remanence of those files, so a simple fs.unlink is not enough.
The effect I'd like to achieve is similar to the unix shred
command.
I tried in a linux Environment where I could just invoke a shred
with a direct system call, but I need it to work in a cross-platform environment (windows and osx in particular) and I didn't found any useful command or npm library.
Any suggestion on how this could be done?