title: Cannot find module 'date Format'
body: <p>I have a project using nodejs.
  I want to format the date using dateformat.
  when I try on local it works, but when I upload it to the server, dateformat is unreadable (cannot find module 'date format')</p>
  
  <p><a href="https://i.stack.imgur.com/6G32R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6G32R.png" alt="enter image description here"></a></p>
  
  <p>this is my code</p>
  
  <pre><code>var date = new Date();
      var dateFormat = require('dateFormat');
      var periode = dateFormat(date, "yyyy-mm");
  </code></pre>
  
  <p>Any suggestions?</p>