Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more

actions-npm-dependencies

Validate your NPM dependencies without installing Node (WIP)

How to get a health report for your package.json?

deno run \
    --allow-net=unpkg.com --allow-read=. \
    https://deno.land/x/package_health/src/main.ts \
    ./package.json  \
    --cache
  • The --cache flag should help with speedups
  • The --verbose flag is very verbose

Todo

  • Make it functional and composable
  • Handle peer dependencies
  • Handle lock files? (probably not)
  • Great error messaging
  • Investigate direct dependencies of dependencies, which may have peers themselves
  • Give insight into possible resolution steps, including intersects

Shapes

All sourced from Geometric Shapes and Box-drawing characters on Wikipedia.

โ”Œโ”€โ”ฌโ”  โ•”โ•โ•ฆโ•—  โ•“โ”€โ•ฅโ•–  โ•’โ•โ•คโ••
โ”‚ โ”‚โ”‚  โ•‘ โ•‘โ•‘  โ•‘ โ•‘โ•‘  โ”‚ โ”‚โ”‚
โ”œโ”€โ”ผโ”ค  โ• โ•โ•ฌโ•ฃ  โ•Ÿโ”€โ•ซโ•ข  โ•žโ•โ•ชโ•ก
โ””โ”€โ”ดโ”˜  โ•šโ•โ•ฉโ•  โ•™โ”€โ•จโ•œ  โ•˜โ•โ•งโ•›
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ—‹ โ–ณ โ–ก ร— โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ