How to use prototyping to make smarter code with NodeJS
In this example, I’ll show you how to add helper methods to your classes with little effort using prototyping. As a bonus approach leaves you with no messes to clean up later.
I recently dived back into Node and started writing a portfolio project. I ended up wanting to use file caching for the project but needed to be able to expire the caches, which the file-system-cache project does not support.