Check the health of npm libraries installed with yarn or npm.
Check the following.
yarn add -D yarnlock-dedupe-check
Usage: yarnlock-dedupe-check [options]
Check the health of npm libraries installed with yarn or npm.
Options:
-V, --version output the version number
-i --input <yarn.lock | package-lock.json> input yarn.lock file
--json <output.json> output filename.
--html <output.html> output html filename.
--ignore <regex> ignore regex pattern
--test <regex> test target pattern
--warn <regex> warning target pattern
-h, --help output usage information
yarnlock-dedupe-check --input ./yarn.lock --test "[String RegExp]" --json ./report.json
DEMO: https://himenon.github.io/node-yarnlock-dedupe-check/
yarnlock-dedupe-check --input ./yarn.lock --test "[String RegExp]" --html ./report.html
DEMO: https://himenon.github.io/yarnlock-dedupe-check
yarnlock-dedupe-check --input ./yarn.lock --test "^react$" --warn "react"
--pattern
: test target (JS RegExp)--skip
: test skip target (JS RegExp)yarnlock-dedupe-check is MIT licensed.