Skip to content

Latest commit

 

History

History
96 lines (64 loc) · 2.8 KB

readme.md

File metadata and controls

96 lines (64 loc) · 2.8 KB

npm-check-extras NPM version

CLI app to check for outdated and unused dependencies, and run update/delete action over selected ones

Install

$ npm install --global npm-check-extras

Demos

Basic demo

demo

Show history

show-history-demo

Displaying stats demo

displaying-history-demo

CLI

$ npm-check-extras --help

  CLI app to check for outdated and unused dependencies, and run update/delete action over selected ones

  Usage
    $ npm-check-extras

  Options
        --check-packages  Check packages immediately
        --production      Skip devDependencies
        --dev-only        Look at devDependencies only (skip dependencies)
        --global          Look at global modules
        --store-history   Store info about packages actions history to a file (.npm-check-history.json)
        --skip-unused     Skip check for unused packages
        --only-stats      Display only stats for updated/deleted packages and exit (it is applicable when you use --store-history option)
        --names           Show package names when --only-stats option is being used
        --date            Show stats only for specific date when --only-stats option is being used


  Examples
    $ npm-check-extras
    $ npm-check-extras --check-packages
    $ npm-check-extras --production
    $ npm-check-extras --prod
    $ npm-check-extras --check-packages --dev-only
    $ npm-check-extras --check --dev-only
    $ npm-check-extras --check --dev-only --store-history
    $ npm-check-extras --global
    $ npm-check-extras --check --global
    $ npm-check-extras -c -d
    $ npm-check-extras --skup-unused
    $ npm-check-extras --only-stats
    $ npm-check-extras --report
    $ npm-check-extras --report --names
    $ npm-check-extras --report --names --date 2024-11-27

Screenshots

Checking project's dependencies.

Check dependencies

Checking globally installed dependencies, then select packages by m filter.

Check global dependencies

Displaying only stats and exit by --only-stats or --report flag

This is applicable if you use --store-history option otherwise stats could not be collected

Show stats

Displaing stats using --date flag to show stats only for specified date

Show stats for date

What's under the hood?

License

MIT © Rushan Alyautdinov