title: node module vs revealing module
body: <p>I want to understand the difference between writing javascript code in Node module style and revealing module pattern.</p>
  
  <p>I have used revealing module pattern but I recently read about writing node modules and invoking the js file using the require function and calling the public methods of the node module. How is this different from revealing module pattern?</p>