Socket
Book a DemoInstallSign in
Socket

npm-fresh

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-fresh

Follow npm changes & update local cache.

latest
Source
npmnpm
Version
1.2.1
Version published
Maintainers
1
Created
Source

npm-fresh

Keep your npm cache fresh.

Usage

While npmfresh is running, npm will not hit the network for any package which it has already downloaded. Only packages which have been updated since npm-fresh was started will need to be downloaded.

# After starting npmfresh, open a new terminal tab.
> npmfresh --verbose
following from 594308
saving current cache-min: 60
setting new cache-min
npm config set cache-min 999999999
594310 cleared ltkit@*
594311 cleared coffee-browserify@*
594312 cleared coffee-browserify@*
594313 cleared ltkit@*
594314 cleared ltkit@*

TODO

  • Add new versions to cache when found.
  • Invalidate specific versions.
  • Only log for packages already in the cache.
  • Check for updates to packages already in cache in case they were missed by the follower.
  • More docs.
  • Tests.

License

MIT

Keywords

cache

FAQs

Package last updated on 19 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts