use Redis client instance in other modules in nodeJs
I have the following module which connects to a Redis database, and I want to get the client instance so I can call it from other modules without creating a new instance each time, I did the following: let client;…