title: Singleton pattern in nodejs - is it needed?
body: <p>I recently came across <a href="http://simplapi.wordpress.com/2012/05/14/node-js-singleton-structure/" rel="noreferrer">this article</a> on how to write a singleton in Node.js. I know the documentation of <code>require</code> <a href="http://nodejs.org/api/modules.html#modules_loading_from_node_modules_folders" rel="noreferrer">states</a> that:</p>
  
  <blockquote>
    <p>Modules are cached after the first time they are loaded. Multiple calls to <code>require('foo')</code> may not cause the module code to be executed multiple times.</p>
  </blockquote>
  
  <p>So it seems that every required module can be easily used as a singleton without the singleton boilerplate-code.</p>
  
  <p><strong>Question:</strong></p>
  
  <p>Does the above article provide a round about solution to creating a singleton?</p>