index.js
function getTempBuildDir(packageName, version) {
    return temp.mkdirAsync('makdeb')
    .then(function(tempDir) {
        return path.join(tempDir, packageName +'-'+ version);
    });
}
function getTempBuildDir(packageName, version) {
    return temp.mkdirAsync('makdeb')
    .then(function(tempDir) {
        return path.join(tempDir, packageName +'-'+ version);
    });
}
function getTempBuildDir ( packageName , version ) { return temp . mkdirAsync ( 'makdeb' ) . then ( function ( tempDir ) { return path . join ( tempDir , packageName + '-' + version ) ; } ) ; }
Returns a temporary directory in the required "packageName-version" format.
Returns a temporary directory in the required packageName - version format .