title: How to repeat execution in nodejs
body: <p>Basically, I want to repeat the console.log for <code>5 times</code> I use <a href="https://www.npmjs.com/package/repeating" rel="nofollow noreferrer">repeating - npm</a>
  This might sound very basic but I can't figure out how to use this to simply repeat the <code>console.log('test');</code> for 5 times using <code>nodejs</code> I need this for a node application that should repeat a special code multiple times in <code>nodejs</code>. Hope someone here might know a solution to it.  </p>
  
  <blockquote>
    <p>app.js</p>
  </blockquote>
  
  <pre><code>const repeating = require("repeating");
  
  repeating(5, console.log('test'));
  </code></pre>