```javascript
module.exports = function () {
    var cacheDir = require( './get-cache-dir' )();
    var name = require( './get-temp-name' )();
    var dir = require( 'path' ).join( cacheDir, name );
    require( 'mkdirp' ).sync( dir );
    return dir;
}
```