Skip to content

isaacs/npm-cache-dir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

npm-cache-dir

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

API

.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

About

I'm managing npm's cache

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published