Managing modularity and Redis connections in Node.js
Kyle
875
I’m sorry but what’s wrong with creating a lib/redis.js file that module.export the client and requiring that on every other module?
I’m sorry but what’s wrong with creating a lib/redis.js file that module.export the client and requiring that on every other module?