Query npmjs registry via api

前端 未结 10 1547
走了就别回头了
走了就别回头了 2020-12-23 13:51

I find I\'m often unsatisfied with the ordering and expressiveness of searches on https://www.npmjs.com/. I guess there should be a way to programmatically query the server

10条回答
  •  生来不讨喜
    2020-12-23 14:49

    There is a really good npm query site https://npms.io which I am using for years on my web project. It is an open-source project and supports advanced search with a better quality of the results for the keywords.

    They have a scoring system for each package using the collected information about the project. The final score is calculated based on four different aspects of Quality, Maintenance, Popularity, and Personalities.

    It also has very neat REST API.
    API Doc: https://api-docs.npms.io

提交回复
热议问题