title: module.exports vs exports in Node.js
body: <p>I've found the following contract in a Node.js module:</p>
  <pre><code>module.exports = exports = nano = function database_module(cfg) {...}
  </code></pre>
  <p>I wonder what's the difference between <code>module.exports</code> and <code>exports</code> and why both are used here.</p>