{"repo":"ranyitz/qnm","free":true,"listed":false,"github":"https://github.com/ranyitz/qnm","clone":"git clone https://github.com/ranyitz/qnm.git","description":":mag: cli utility for querying the node_modules directory","language":"TypeScript","stars":2066,"topics":["npm","javascript","cli","nodejs","typescript","yarn"],"license":"MIT","category":"cli-tools","readme_excerpt":":mag: A simple cli utility for querying the node modules directory Why? most bugs are caused by the assumptions we didn't realize we were making. I often need to quickly check the versions of the modules installed in the node modules directory. Current solutions like running npm list are slow and produce a lot of irrelevant output. Checking the version in the package.json file of the specific module requires more effort and doesn’t provide information about other instances of the same module. qnm is a tool that solves this problem by providing fast and focused information about the installed modules. It supports both npm and yarn and allows you to quickly identify the versions of the modules you are interested in. Features - :sparkles: Interactive fuzzy-search - :abc: Match all packages with a specific string - :interrobang: Explain why a package was installed - :books: Supports monorepos - :clock12: Show when a version was release and what is the latest version Usage You can use bunx/npx to run qnm, the docs use bunx because it's the fastest way For example, if you want to see the installed versions of lodash : And you'll see something like that: Which means you have 3 occurrences of lodash in your node modules : 1. ./node module/lodash 2. ./node module/cli-table2/node modules/lodash 3. ./node module/karma/node modules/lodash - The latest version of lodash is 4.17.21, it was published 2 days ago. - The other 2 occurrences of lodash (3.10.1) were released a year ago. Fuzzy-se","default_branch":null,"files":null,"tree":[],"storefront":"/r/ranyitz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ranyitz/qnm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}