title: How to get number of connections in Redis using Node.js?
body: <p>Is there a way to check how many current connections there are to the Redis database?</p>
  <pre><code>const redis = require('redis');
  
  var client = redis.createClient(port, host);
  
  client.on('connect', () =&gt; {
    //Display how many current connections are to Redis
    console.log( numberOfRedisClients );
  });
  </code></pre>