<commit_before><!doctype html>
<html>
  <head>
    <title>Browserify-CDN</title>
    <link rel="stylesheet" href="style.css">
    <script type="text/javascript">
      window.onload = function(){
        document.getElementById('url-generator').onsubmit = function(e) {
          module = this.elements["module"].value
          ver = this.elements["ver"].value
          path = "http://wzrd.in/standalone/" + module + "@" + ver
          link = document.createElement('a')
          link.href = path
          link.target = '_blank'
          link.click()
          return false
        }
      }
    </script>
  </head>
  <body>
    <div id="logo">
      <img src="/img/browserify.png">
    </div>
    <div id="content">
      <h1>browserify-as-a-service</h1>
<h4>Places</h4>
<ul>
<li><a href="https://github.com/jesusabdullah/browserify-cdn">fork me on github</a></li>
<li><a href="http://browserify.org">browserify on the web</a></li>
<li><a href="https://github.com/maxogden/browser-module-sandbox">browser-module-sandbox</a> - helpful for using multi-bundles</li>
<li><a href="http://requirebin.com">requirebin.com</a> - powered by browserify-cdn</li>
</ul>
<h1>Quick Start</h1>
<p>Try visiting this link:</p>
<p><a href="/standalone/concat-stream@latest">/standalone/concat-stream@latest</a></p>
<form method="get" id="url-generator">
  Or..
  <label>
    Module:
    <input type="text" name="module" value="concat-stream" required />
  </label>
  <label>
    Version: 
    <input type="text" name="ver" value="latest" required />
  </label>
  <input type="submit" value="Go!" />
</form>
<h2>What just happened?</h2>
<p>Well, in <em>this</em> case, since someone has visited this link before you,
the file was cached with <a href="https://github.com/rvagg/node-levelup">leveldb</a>.
But if you were to try and grab a bundle that
<em>nobody else has tried to grab before</em>, what would happen is this:</p>
<ul>
<li>The module gets pulled down from <a href="http://npmjs.org">npm</a> and installed</li>
<li>The module gets <a href="http://browserify.org">browserified</a> as a standalone bundle</li>
<li>The module gets sent to you, piping hot</li>
<li>The module gets cached so that you don&#39;t have to wait later on</li>
</ul>
<h1>API</h1>
<p>There are a few API endpoints:</p>
<h2>GET /bundle/:module</h2>
<p>Get the latest version of :module.</p>
<h2>GET /bundle/:module@:version</h2>
<p>Get a version of <code>:module</code> which satisfies the given <code>:version</code>
<a href="https://github.com/rvagg/node-levelup">semver</a> range. Defaults to latest.</p>
<h2>GET /debug-bundle/:module</h2>
<h2>GET /debug-bundle/:module@:version</h2>
<p>The same as the prior two, except with <code>--debug</code> passed to browserify.</p>
<h2>GET /standalone/:module</h2>
<h2>GET /standalone/:module@:version</h2>
<p>In this case, <code>--standalone</code> is passed to browserify.</p>
<h2>GET /debug-standalone/:module</h2>
<h2>GET /debug-standalone/:module@:version</h2>
<p>Both <code>--debug</code> and <code>--standalone</code> are passed to browserify!</p>
<h2>POST /multi</h2>
<p>POST a body that looks something like this:</p>
<pre><code class="lang-json">{
  &quot;options&quot;: {
    &quot;debug&quot;: true
  },
  &quot;dependencies&quot;: {
    &quot;concat-stream&quot;: &quot;0.1.x&quot;,
    &quot;hyperstream&quot;: &quot;0.2.x&quot;
  }
}</code></pre>
<p>&quot;options&quot; is where you get to set &quot;debug&quot; and &quot;standalone&quot;. Usually, in this
case, you&#39;ll probably only really care about debug. If you don&#39;t define
&quot;options&quot;, this will default to <code>{ &quot;debug&quot;: false, &quot;standalone&quot;: false }</code>.
&quot;dependencies&quot; is an npm-style deps hash.</p>
<p>What you get in return looks something like this:</p>
<pre><code>HTTP/1.1 200 OK
X-Powered-By: Express
Location: /multi/48GOmL0XvnRZn32bkpz75A==
content-type: application/json
Date: Sat, 22 Jun 2013 22:36:32 GMT
Connection: keep-alive
Transfer-Encoding: chunked

{
  &quot;concat-stream&quot;: {
    &quot;package&quot;: /* the concat-stream package.json */,
    &quot;bundle&quot;: /* the concat-stream bundle */
  },
  &quot;hyperstream&quot;: {
    &quot;package&quot;: /* the hyperstream package.json */,
    &quot;bundle&quot;: /* the hyperstream bundle */
  }
}</code></pre>
<p>The bundle gets permanently cached at <code>/multi/48GOmL0XvnRZn32bkpz75A==</code> for
future GETs.</p>
<h2>GET /multi/:existing-bundle</h2>
<p>If you saved the Location url from the POST earlier, you can just GET it instead of
POSTing again.</p>
<h2>License</h2>
<p>MIT</p>


    </div>
    <div id="harry-potter">
      <h1>BASICALLY IT'S PRETTY SWEET.</h1>
      <img src="/img/hp.png">
    </div>
  </body>
</html>
<commit_msg>Not using e<commit_after><!doctype html>
<html>
  <head>
    <title>Browserify-CDN</title>
    <link rel="stylesheet" href="style.css">
    <script type="text/javascript">
      window.onload = function(){
        document.getElementById('url-generator').onsubmit = function() {
          module = this.elements["module"].value
          ver = this.elements["ver"].value
          path = "http://wzrd.in/standalone/" + module + "@" + ver
          link = document.createElement('a')
          link.href = path
          link.target = '_blank'
          link.click()
          return false
        }
      }
    </script>
  </head>
  <body>
    <div id="logo">
      <img src="/img/browserify.png">
    </div>
    <div id="content">
      <h1>browserify-as-a-service</h1>
<h4>Places</h4>
<ul>
<li><a href="https://github.com/jesusabdullah/browserify-cdn">fork me on github</a></li>
<li><a href="http://browserify.org">browserify on the web</a></li>
<li><a href="https://github.com/maxogden/browser-module-sandbox">browser-module-sandbox</a> - helpful for using multi-bundles</li>
<li><a href="http://requirebin.com">requirebin.com</a> - powered by browserify-cdn</li>
</ul>
<h1>Quick Start</h1>
<p>Try visiting this link:</p>
<p><a href="/standalone/concat-stream@latest">/standalone/concat-stream@latest</a></p>
<form method="get" id="url-generator">
  Or..
  <label>
    Module:
    <input type="text" name="module" value="concat-stream" required />
  </label>
  <label>
    Version: 
    <input type="text" name="ver" value="latest" required />
  </label>
  <input type="submit" value="Go!" />
</form>
<h2>What just happened?</h2>
<p>Well, in <em>this</em> case, since someone has visited this link before you,
the file was cached with <a href="https://github.com/rvagg/node-levelup">leveldb</a>.
But if you were to try and grab a bundle that
<em>nobody else has tried to grab before</em>, what would happen is this:</p>
<ul>
<li>The module gets pulled down from <a href="http://npmjs.org">npm</a> and installed</li>
<li>The module gets <a href="http://browserify.org">browserified</a> as a standalone bundle</li>
<li>The module gets sent to you, piping hot</li>
<li>The module gets cached so that you don&#39;t have to wait later on</li>
</ul>
<h1>API</h1>
<p>There are a few API endpoints:</p>
<h2>GET /bundle/:module</h2>
<p>Get the latest version of :module.</p>
<h2>GET /bundle/:module@:version</h2>
<p>Get a version of <code>:module</code> which satisfies the given <code>:version</code>
<a href="https://github.com/rvagg/node-levelup">semver</a> range. Defaults to latest.</p>
<h2>GET /debug-bundle/:module</h2>
<h2>GET /debug-bundle/:module@:version</h2>
<p>The same as the prior two, except with <code>--debug</code> passed to browserify.</p>
<h2>GET /standalone/:module</h2>
<h2>GET /standalone/:module@:version</h2>
<p>In this case, <code>--standalone</code> is passed to browserify.</p>
<h2>GET /debug-standalone/:module</h2>
<h2>GET /debug-standalone/:module@:version</h2>
<p>Both <code>--debug</code> and <code>--standalone</code> are passed to browserify!</p>
<h2>POST /multi</h2>
<p>POST a body that looks something like this:</p>
<pre><code class="lang-json">{
  &quot;options&quot;: {
    &quot;debug&quot;: true
  },
  &quot;dependencies&quot;: {
    &quot;concat-stream&quot;: &quot;0.1.x&quot;,
    &quot;hyperstream&quot;: &quot;0.2.x&quot;
  }
}</code></pre>
<p>&quot;options&quot; is where you get to set &quot;debug&quot; and &quot;standalone&quot;. Usually, in this
case, you&#39;ll probably only really care about debug. If you don&#39;t define
&quot;options&quot;, this will default to <code>{ &quot;debug&quot;: false, &quot;standalone&quot;: false }</code>.
&quot;dependencies&quot; is an npm-style deps hash.</p>
<p>What you get in return looks something like this:</p>
<pre><code>HTTP/1.1 200 OK
X-Powered-By: Express
Location: /multi/48GOmL0XvnRZn32bkpz75A==
content-type: application/json
Date: Sat, 22 Jun 2013 22:36:32 GMT
Connection: keep-alive
Transfer-Encoding: chunked

{
  &quot;concat-stream&quot;: {
    &quot;package&quot;: /* the concat-stream package.json */,
    &quot;bundle&quot;: /* the concat-stream bundle */
  },
  &quot;hyperstream&quot;: {
    &quot;package&quot;: /* the hyperstream package.json */,
    &quot;bundle&quot;: /* the hyperstream bundle */
  }
}</code></pre>
<p>The bundle gets permanently cached at <code>/multi/48GOmL0XvnRZn32bkpz75A==</code> for
future GETs.</p>
<h2>GET /multi/:existing-bundle</h2>
<p>If you saved the Location url from the POST earlier, you can just GET it instead of
POSTing again.</p>
<h2>License</h2>
<p>MIT</p>


    </div>
    <div id="harry-potter">
      <h1>BASICALLY IT'S PRETTY SWEET.</h1>
      <img src="/img/hp.png">
    </div>
  </body>
</html>

{'fraction_non_alphanumeric': 0.18638897654359945, 'fraction_numerical': 0.015777847901546228, 'mean_word_length': 4.012124406958355, 'pattern_counts': {'":': 0, '<': 321, '<?xml version=': 0, '>': 321, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '760886', 'n_tokens_mistral': 3503, 'n_tokens_neox': 3408, 'n_words': 830}