tmpdir os.tmpdir() but works in every version: 0.6, 0.8, 0.10 License var tmpdir = require('tmpdir') MIT