Sign in to confirm you’re not a bot
This helps protect our community. Learn more
Use npm query and jq to dig into your dependencies
154Likes
3,219Views
2022Oct 5
You need npm v8.10 or above for the query command. You can find more info from a recent github blog post https://github.blog/changelog/2022-08... Dig in deeper with `npm query` using other dependency selectors from npm's documentation https://docs.npmjs.com/cli/v8/using-n... In the video, I used `jq` https://stedolan.github.io/jq/ to further take the data from `npm query` and manipulate the results I also showed using a TUI wapper around `jq` called `jqp` https://github.com/noahgorstein/jqp which can be nice when iterating on a `jq` filter

Follow along using the transcript.

Elijah Manor

14.5K subscribers