| Leo Repp | 58b9f11 | 2021-11-22 11:57:47 +0100 | [diff] [blame^] | 1 | 'use strict'; |
| 2 | const path = require('path'); | ||||
| 3 | const uuid = require('uuid'); | ||||
| 4 | const tempDir = require('temp-dir'); | ||||
| 5 | |||||
| 6 | module.exports = ext => path.join(tempDir, uuid.v4() + (ext || '')); | ||||