title: Query npmjs registry via api
body: <p>I find I'm often unsatisfied with the ordering and expressiveness of searches on <a href="https://www.npmjs.com/">https://www.npmjs.com/</a>. I guess there should be a way to programmatically query the server using <a href="https://api.npmjs.org/">https://api.npmjs.org/</a> or <a href="http://registry.npmjs.org/">http://registry.npmjs.org/</a>. But how? Where is the documentation?</p>
  
  <p>(Or are there node packages to faciliate that? I know SO isn't about tool or package recommendations, so perhaps I shouldn't be asking about this as well, but if there were some tool, I could likely read the API from that as well.)</p>