Uh oh!
There was an error while loading. Please reload this page.
Support listing out npm cache - #194
Conversation
isaacs
commented
Jun 26, 2019
This is a good idea. But it should use the |
isaacs
commented
Jun 26, 2019
Also, it should have a (If you don't get to this, I will eventually, no sweat, not a blocker.) |
thanks for looking; updated to use I don't write much nodejs code, so happy to refactor a bit if you have suggestions for improvements. |
darcyclarke
commented
Nov 19, 2019
@jacobtolar can you add some test coverage? We'd love to land this in our next minor |
mikemimik
commented
Nov 26, 2019
Hey @jacobtolar just a heads up that we'll be releasing a |
th0rgall
commented
Aug 6, 2020
If you need this listing feature in the CLI now, a workaround can be found here: https://github.com/yilmazdurmaz/npm-cache-list |
darcyclarke
commented
Jan 26, 2021
@jacobtolar apologize this wasn't able to get pulled into v6. We'd love to see |
The documentation for npm-cache says it can list the contents of the cache folder:
The
listfunctionality isn't actually present, but is supported bycacache.This PR adds a
list(orls) subcommand tonpm cachethat outputs the contents of the cache in the following format:If a different output format would be preferable, I'm happy to change this PR.