in src/npm/hash-and-cache.js [238:252]
var extractCache = function (targetPath, hash) {
var tarFile = hash + ".tgz";
var tarPath = path.join(targetPath, tarFile);
console.log("Extracting Cache " + tarPath);
var tarOptions = {
sync: true,
file: tarPath,
strict: true,
cwd: targetPath
}
return tar.extract(tarOptions);
}