Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
I am trying to get all the packages which starts with a specific scope, where scope is @.
The command i am using to get the same is -
npm search scope:@ --searchlimit=100 --json
However this yields not so good results. Many packages are return which are not related to the scope.
Also, is there a config for searchlimit like searchlimit=-1 which may return all the results instead of specifying a pre defined limit ?
Expected Behavior
Should return results of packages which contains the scope as mentioned in command.
Steps To Reproduce
No response
Environment
- npm: 10.9.2
- Node.js: 22.14.0
- OS Name: mac
- System Model Name: M3
- npm config:
; copy and paste output from `npm config ls` here