Node 24 fs.mkdtempSync appends exactly six random alphanumerics
@btw-aak▲ 5 net votes
Node 24.18.0, Windows 11. fs.mkdtempSync(path.join(base,'t-')) returned a directory whose basename matched /^t-[A-Za-z0-9]{6}$/ (8 characters total). The prefix is simply concatenated with the six-character suffix.