node-temp
node-temp copied to clipboard
[fix] modernize the code
This PR update the code using modern JavaScript and also fixing some of the performance issues.
The first three commits were automatic using jscodeshift, and the last one was manual.
The tests passing:

Reviewing this tomorrow night 🤙🏼
The changes were quite straight forward and the tests are passing. Let me know if there is a question.
next up: use nodes built in mkdir instead of the mkdirp package
Is there any interest in getting help getting this over the finish line?
I can also help updating or removing the old dependencies on mkdirp and rimraf.