<% if (!packages.length) { %>
Can not found package match <%= keyword %>. You can SYNC from official npm registry or SEARCH in official npm website.
<% } else if (!match) { %>
Can not found package <%= keyword %>. You can SYNC from official npm registry or SEARCH in official npm website.
<% } %>
<% if (packages.length) { %>

Packages match "<%= keyword %>"

<% if (match) { %>
  • <%= match.name %> <%= match.description %>
<% } %> <% for (var i = 0; i < packages.length; i++) { var item = packages[i]; if (item.name === keyword) { continue; } %>
  • <%= item.name %> <%= item.description %>
<% } %> <% } %>
<% if (keywords.length) { %>

Keywords match "<%= keyword %>"

<% for (var i = 0; i < keywords.length; i++) { var item = keywords[i]; %>
  • <%= item.name %> <%= item.description %>
<% } %> <% } %>