node-dep-date-diff
Outputs all installed packages in a table (or JSON) with the release date of the currently installed version and latest available version.
CLI install and usage
npm i -g dep-date-diffdep-date-diff [options] # or use ddd alias Options: -h, --help output usage information -V, --version output the version number -S --sort [sort properties] Sorts the table elements, add items in a comma separated list -O --only-outdated Only show dependencies which are out of date Examples: $ dep-date-diff $ dep-date-diff --sort dateDiff $ dep-date-diff --sort dateDiff,usedVersionDate $ dep-date-diff --only-outdated
Sample output
ddd[===] 14/rps 100% 0.0s┌───────────────┬───────────────┬─────────────┬─────────────────┬───────────────┬───────────────────┬──────────┐│ packageName │ type │ usedVersion │ usedVersionDate │ latestVersion │ latestVersionDate │ dateDiff │├───────────────┼───────────────┼─────────────┼─────────────────┼───────────────┼───────────────────┼──────────┤│ lodash │ dependency │ 3.10.1 │ 2015-08-04 │ 4.17.4 │ 2016-12-31 │ 515 days │├───────────────┼───────────────┼─────────────┼─────────────────┼───────────────┼───────────────────┼──────────┤│ express │ dependency │ 4.15.3 │ 2017-05-17 │ 4.15.3 │ 2017-05-17 │ 0 days │└───────────────┴───────────────┴─────────────┴─────────────────┴───────────────┴───────────────────┴──────────┘
In-code install and usage
npm i -D dep-date-diff
const ddd = ; ;