util/entrez-esearch.js
function search(options, callback) {
  var queryURI = 'http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term=' + options.terms + '&retmode=json&retmax=' + (options.count || 10);
  utils.retrieve(queryURI, callback);
}
function search(options, callback) {
  var queryURI = 'http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term=' + options.terms + '&retmode=json&retmax=' + (options.count || 10);
  utils.retrieve(queryURI, callback);
}
function search ( options , callback ) { var queryURI = 'http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term=' + options . terms + '&retmode=json&retmax=' + ( options . count || 10 ) ; utils . retrieve ( queryURI , callback ) ; }
Do the actual search.
Do the actual search .