Skip to content

3.0.0

Choose a tag to compare

@kibertoad kibertoad released this 09 Apr 13:49
· 57 commits to main since this release
  • Get rid of constructor wrapper (#5)
  • Cache instances are created using new keyword now, and full classes are exported instead of just a factory function.
  • Now both Map-based and Object-based caches are symmetrically exported.

See benchmarks for how the two compare:

https://github.com/kibertoad/nodejs-benchmark-tournament/blob/master/cache-get-inmemory/_results/results.md
https://github.com/kibertoad/nodejs-benchmark-tournament/blob/master/cache-set-inmemory/_results/results.md