Closed Connum closed 7 years ago
This would allow one to use sometime like tmp (https://www.npmjs.com/package/tmp) to cleanup the temp files
you can already use the reap package to clean up old files in any directory (we use it internally in jsreport and works great with any directory), the advantage to have this option as something global is that it is more easy to clean up one directory than cleaning multiple directories if the tmp path changes in each conversion.
I think this is intentional. tmpDir is global option and should not be part of the specific conversion options