dominictarr / npmd

MIT License
450 stars 37 forks source link

version 0.0.1 #2

Closed ralphtheninja closed 7 years ago

ralphtheninja commented 11 years ago

@dominictarr what's sufficent for a 0.0.1 release? Is a basic html skeleton with a simple search mechanism enough?

dominictarr commented 11 years ago

A input box that you can type into, it returns a list of all the matching modules, you can click on them to see documentation.

dominictarr commented 11 years ago

Okay, I got a basic web interface up...

But it's made me realize that the full text index is not good enough.

We need various rankings.

Now, there should be some ranking data that is global, like how many modules depend on it? and then, you want other data factored in, like, where do the search terms appear in the title? near the start? how many times?

log interactions for a search, and count how many times the user actually clicks on something.

The first priority, I think though, to to show the section of the readme that matches a search, and highlight the search terms.