Closed webcoderspeed closed 2 years ago
Closures can help in making the functions private and hence limiting their scope.
@hugekontrast you wanna try it
I would love to give it a shot! However, I don't have any experience with typescript. I've been doing all things in pure javascript up till now.
I can work on it!
@hugekontrast https://github.com/webcoderspeed/speed-cache/issues/3 you can this one. just do the documentation like this https://www.npmjs.com/package/redis
Okay! I'll try to do the documentation, then.
Explanation - If we don't prevent then inner functions for db interaction directly which is not good
Stop exposing following function