After we release a package on npm, it provides us with insights such as popularity, quality, and maintenance on the search page (Refer to the example image below). I am particularly curious about how npm determines the quality metric. Any insights would be greatly appreciated.
https://i.sstatic.net/av8Oq.png
You can observe this by visiting the search page. Simply check the right side of the search page: npm search for "react"