<commit_before>{{#with package}}

<div class="content">

  <section id="readme">
    <hgroup>
      <h1>{{name}}
        <form class="star">
          <input type="hidden" name="name" value="{{name}}">
          <input type="hidden" name="crumb" value="{{../crumb}}">
          <input id="star-input" type="checkbox" name="isStarred" value="true" {{#if isStarred}}checked{{/if}}>
          <label for="star-input" class="icon-star"></label>
        </form>
      </h1>
      <h2>{{description}}</h2>
    </hgroup>
    {{#if readme}}
      {{{readme}}}
    {{/if}}
  </section>

</div>

<div class="sidebar">

  {{#if installCommand}}
    <div class="autoselect-wrapper npm-install icon-download">
      <input type="text" value="{{installCommand}}" readonly>
    </div>
  {{/if}}

	<h3>Package Info</h3>
	<ul class="box">

    <li>
      <strong>{{version}}</strong>
      {{#if fromNow}}
        published {{fromNow}}
      {{/if}}
      {{#if _npmUser}}
        by <a href="/~{{_npmUser.name}}">{{_npmUser.name}}</a>
      {{/if}}
    </li>

    {{#if repository.url}}
      <li>
        <a href="{{repository.url}}">{{schemeless repository.url}}</a>
      </li>
    {{/if}}

    {{#if homepage}}
      <li>
        <a href="{{homepage}}">{{schemeless homepage}}</a>
      </li>
    {{/if}}

    {{#if license}}
      <li>
        <a href="{{license.url}}">{{license.name}}</a> <span> license</span>
      </li>
    {{/if}}

	</ul>

  <h3>Stats</h3>
  <ul class="box">
    {{#if downloads}}
      <li><strong class="pretty-number">{{downloads.day}}</strong> {{pluralize downloads.day "downloads"}} in the last day</li>
      <li><strong class="pretty-number">{{downloads.week}}</strong> {{pluralize downloads.week "downloads"}} in the last week</li>
      <li><strong class="pretty-number">{{downloads.month}}</strong> {{pluralize downloads.month "downloads"}} in the last month</li>
    {{/if}}

    {{#if bugs.url}}
      <li id="issues" {{#if ghapi}}data-ghapi="{{ghapi}}"{{/if}}>
        <span class="original">Have an issue? <a href="{{bugs.url}}">File it.</a></span>
        {{#if ghapi}}
          <span class="enhanced" style="display:none">
            <a href="{{bugs.url}}"></a> on GitHub
          </span>
        {{/if}}
      </li>
    {{/if}}

    {{#if pull_requests.url}}
      <li id="pull_requests" style="display:none">
        <a href="{{pull_requests.url}}"></a> on GitHub
      </li>
    {{/if}}

  </ul>

  <h3>Keywords</h3>
  <p class="list-of-links">
    {{#if keywords}}
      {{#each keywords}}
        <a href="/browse/keyword/{{this}}">{{this}}</a>{{#unless @last}}, {{/unless}}
      {{/each}}
    {{else}}
      None
    {{/if}}<commit_msg>show download counts on package page sidebar<commit_after>{{#with package}}

<div class="content">

  <section id="readme">
    <hgroup>
      <h1>{{name}}
        <form class="star">
          <input type="hidden" name="name" value="{{name}}">
          <input type="hidden" name="crumb" value="{{../crumb}}">
          <input id="star-input" type="checkbox" name="isStarred" value="true" {{#if isStarred}}checked{{/if}}>
          <label for="star-input" class="icon-star"></label>
        </form>
      </h1>
      <h2>{{description}}</h2>
    </hgroup>
    {{#if readme}}
      {{{readme}}}
    {{/if}}
  </section>

</div>

<div class="sidebar">

  {{#if installCommand}}
    <div class="autoselect-wrapper npm-install icon-download">
      <input type="text" value="{{installCommand}}" readonly>
    </div>
  {{/if}}

	<h3>Package Info</h3>
	<ul class="box">

    <li>
      <strong>{{version}}</strong>
      {{#if fromNow}}
        published {{fromNow}}
      {{/if}}
      {{#if _npmUser}}
        by <a href="/~{{_npmUser.name}}">{{_npmUser.name}}</a>
      {{/if}}
    </li>

    {{#if repository.url}}
      <li>
        <a href="{{repository.url}}">{{schemeless repository.url}}</a>
      </li>
    {{/if}}

    {{#if homepage}}
      <li>
        <a href="{{homepage}}">{{schemeless homepage}}</a>
      </li>
    {{/if}}

    {{#if license}}
      <li>
        <a href="{{license.url}}">{{license.name}}</a> <span> license</span>
      </li>
    {{/if}}

	</ul>

  <h3>Stats</h3>
  <ul class="box">
    {{#if downloads}}
      <li><strong class="pretty-number">{{downloads.day}}</strong> {{pluralize downloads.day "downloads"}} in the last day</li>
      <li><strong class="pretty-number">{{downloads.week}}</strong> {{pluralize downloads.week "downloads"}} in the last week</li>
      <li><strong class="pretty-number">{{downloads.month}}</strong> {{pluralize downloads.month "downloads"}} in the last month</li>
    {{/if}}

    {{#if bugs.url}}
      <li id="issues" {{#if ghapi}}data-ghapi="{{ghapi}}"{{/if}}>
        <span class="original">Have an issue? <a href="{{bugs.url}}">File it.</a></span>
        {{#if ghapi}}
          <span class="enhanced" style="display:none">
            <a href="{{bugs.url}}"></a> on GitHub
          </span>
        {{/if}}
      </li>
    {{/if}}

    {{#if pull_requests.url}}
      <li id="pull_requests" style="display:none">
        <a href="{{pull_requests.url}}"></a> on GitHub
      </li>
    {{/if}}

  </ul>

  <h3>Stats</h3>
  <ul class="box">
    {{#if downloads}}
      <li><strong class="pretty-number">{{downloads.day}}</strong> downloads in the last day</li>
      <li><strong class="pretty-number">{{downloads.week}}</strong> downloads in the last week</li>
      <li><strong class="pretty-number">{{downloads.month}}</strong> downloads in the last month</li>
    {{/if}}
  </ul>

  <h3>Keywords</h3>
  <p class="list-of-links">
    {{#if keywords}}
      {{#each keywords}}
        <a href="/browse/keyword/{{this}}">{{this}}</a>{{#unless @last}}, {{/unless}}
      {{/each}}
    {{else}}
      None
    {{/if}}
{'fraction_non_alphanumeric': 0.24070857936783605, 'fraction_numerical': 0.0038207711010767626, 'mean_word_length': 2.756686236138291, 'pattern_counts': {'":': 0, '<': 179, '<?xml version=': 0, '>': 179, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 30, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7373486', 'n_tokens_mistral': 2088, 'n_tokens_neox': 1969, 'n_words': 397}