A TempFS creates a temporary directory in the recommended location for your Operating System.
Temporary filesystems are deleted as soon as you close them, making them useful for intermediate file processing that you don't want to store permanently.
Another use-case for a temporary filesystem is for building a file structure, where there is a chance that you may want to cancel the processes prematurely. To commit the files simply copy them to their permanent location with the fs.copy module.
See TempFS docs for more information.