There may be times you wish to search for a certain package or set of packages within an npm repository in one of your npm repositories in artifactory. This can be done by using the npm search function as shown below:
npm search 'ionic' --registry <jfrogurl>/artifactory/api/npm/<repository name> --searchlimit=1000
This will return all packages with the key word ionic in them. You can add grep commands on the end to narrow down the results further. As the searchlimit is by default 20 in npm as described here, if there are more than 20 packages with the keyword you are using to search it will return the first 20 only. Therefore if you notice that some packages seem to be missing from the search command it is recommended to increase the searchlimit parameter to a large number(such as 1000 in the example given).