Closed ktalebian closed 4 years ago
How can I create a temp file with an extension?
You can pass a postfix option e.g.
postfix
const tmpobj = tmp.fileSync({ postfix: ".html" });
Duplicate of #200
How can I create a temp file with an extension?