Nowadays, in node ecosystem it's not easy to find the packages we are looking for.
For example, when a noder comes to npmjs.org or google.com, how do they find the
best promise library? npf comes to help
Besides keywords / description, we also compare
- number of dependents
- author (github repo stars, github followers)
- TODO: rates of related stackoverflow / quora discussions
/package/:package/:author/cifetch node package dependents
searchHelper
/package/:packagewhich returns a list of objects which possess name and score
lazy load all other meta info?
route /package/top/:packageget top 10 search results on top of
/package/:package/:author/ciget travis-ci test results with following format
{
success: <boolean>,
time: <string of last build time>
}
- normalize scores, especially downloads/stars/followers