node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org ยป


Build Status


Get stats about npm's cache dir and create the directory lazily


.getCacheStat(npmCache, log, cb)

Get fs.stats about npm's cache dir, and create the cachedir if it does not exist

.makeCacheDir(npmCache, log, cb)

Create the cache dir according to the setting in npm.cache