node-cache
node-cache copied to clipboard
a node internal (in-memory) caching module
When setting a new key at the moment, if the cache is full it will throw an error, We should have an option that, instead of erroring, will remove the...
Some libraries (like widely used [got](https://npm.im)) utilize `ES6 Map`-like cache API. Adding an alias `delete -> del` and adding a `clear` method will make `node-cache` be compatible with those libraries...
Let imagine I have multiple cache instances. Is it possible to get cache stats for all available instances?
I have two concerns about this package. 1. I am not sure how much memory it will be using, I am creating cache in my solution per user. what if...
Hi, first of all, thanks for providing this great module! My question: Is there a way to delete cached values not based on an exact match of the key, but...
Is it possible to access the cache created in the main thread from a worker thread?
Test with a big json file(~ 2000kb), node v14.17.2 ```javascript const data = require('./bigjson.json') const NodeCache = require( "node-cache" ); function cacheClone() { const myCache = new NodeCache({ useClones: true...
This would allow custom type enforcing to all methods. ```typescript const cachedValue = cache.get(...) // => undefined | MyType cache.set(...) // => Invalid if value is not assignable to MyType...
Bumps [grunt](https://github.com/gruntjs/grunt) from 1.0.4 to 1.5.3. Release notes Sourced from grunt's releases. v1.5.3 Merge pull request #1745 from gruntjs/fix-copy-op 572d79b Patch up race condition in symlink copying. 58016ff Merge pull...
Bumps [mocha](https://github.com/mochajs/mocha) from 7.2.0 to 10.0.0. Release notes Sourced from mocha's releases. v10.0.0 10.0.0 / 2022-05-01 :boom: Breaking Changes #4845: Drop Node.js v12.x support (@juergba) #4848: Drop Internet-Explorer-11 support (@juergba)...