doc/index.html
<!DOCTYPE html><html lang="en"><head><title>index</title></head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"><meta name="groc-relative-root" content=""><meta name="groc-document-path" content="index"><meta name="groc-project-path" content="lib/index.js"><link rel="stylesheet" type="text/css" media="all" href="assets/style.css"><script type="text/javascript" src="assets/behavior.js"></script><body><div id="meta"><div class="file-path">lib/index.js</div></div><div id="document"><div class="segment"><div class="code"><div class="wrapper"><span class="kd">var</span> <span class="nx">thresher</span> <span class="o">=</span> <span class="nx">module</span><span class="p">.</span><span class="nx">exports</span><span class="p">;</span>
<span class="kd">var</span> <span class="nx">winston</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">'winston'</span><span class="p">);</span>
<span class="nx">log</span> <span class="o">=</span> <span class="k">new</span> <span class="p">(</span><span class="nx">winston</span><span class="p">.</span><span class="nx">Logger</span><span class="p">)({</span>
<span class="nx">transports</span><span class="o">:</span> <span class="p">[</span>
<span class="k">new</span> <span class="p">(</span><span class="nx">winston</span><span class="p">.</span><span class="nx">transports</span><span class="p">.</span><span class="nx">Console</span><span class="p">)({</span> <span class="nx">level</span><span class="o">:</span> <span class="s1">'info'</span> <span class="p">})</span>
<span class="p">]</span>
<span class="p">});</span>
<span class="nx">log</span><span class="p">.</span><span class="nx">cli</span><span class="p">();</span>
<span class="nx">thresher</span><span class="p">.</span><span class="nx">deps</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">'./dependencies.js'</span><span class="p">);</span>
<span class="nx">thresher</span><span class="p">.</span><span class="nx">dom</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">'./dom.js'</span><span class="p">);</span>
<span class="nx">thresher</span><span class="p">.</span><span class="nx">file</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">'./file.js'</span><span class="p">);</span>
<span class="nx">thresher</span><span class="p">.</span><span class="nx">url</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">'./url.js'</span><span class="p">);</span>
<span class="nx">thresher</span><span class="p">.</span><span class="nx">download</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">'./download.js'</span><span class="p">);</span>
<span class="nx">thresher</span><span class="p">.</span><span class="nx">Ticker</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">'./ticker.js'</span><span class="p">);</span>
<span class="nx">thresher</span><span class="p">.</span><span class="nx">Scraper</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">'./scraper.js'</span><span class="p">);</span>
<span class="nx">thresher</span><span class="p">.</span><span class="nx">Thresher</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">'./thresher.js'</span><span class="p">);</span>
<span class="nx">thresher</span><span class="p">.</span><span class="nx">ScraperBox</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">'./scraperBox.js'</span><span class="p">);</span></div></div></div></div></body></html>