copy-dir-to-tmp Copy a directory to a temporary directory Installation yarn add copy-dir-to-tmp Usage import copyDirToTmp from 'copy-dir-to-tmp'; const dest = await copyDirToTmp('./src'); // `./src` is now copied to a temporary directory stored in `dest`.