nf

npm-fresh

Keep your npm cache fresh.

Showing:

Popularity

Downloads/wk

1

GitHub Stars

4

Maintenance

Last Commit

7yrs ago

Contributors

0

Package

Dependencies

10

Size (min+gzip)

161.4KB

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial