npm-cache-dir

1.0.0 • Public • Published

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

/npm-cache-dir/

    Package Sidebar

    Install

    npm i npm-cache-dir

    Weekly Downloads

    5

    Version

    1.0.0

    License

    BSD-2-Clause

    Last publish

    Collaborators

    • robertkowalski
    • isaacs
    • domenic