node-cached icon indicating copy to clipboard operation
node-cached copied to clipboard

A simple caching library for node.js, inspired by the Play cache API

Results 13 node-cached issues
Sort by recently updated
recently updated
newest added

Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3. Changelog Sourced from shell-quote's changelog. 1.7.3 Fix a security issue where the regex for windows drive letters allowed some shell meta-characters to escape the...

dependencies

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

Hello, I've just created definition types pull request for this project: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/50491 If you know what that actually is and if you have time, feel free to check it out!...

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Hello, It's the first time I use node-cache (I normally develop in c#), I've seen that's available on the doc the getOrElse method, I've tried with the following code but...

Just curious if anyone has attempted using an express request session as a backend. The sessions are already memcached, and leveraging the session would save a memcached call since the...

When a stale value is fetched, because of the way promise code is scheduled (`Promise.then` just sticks the function on the even loop), the `val()` function passed to `getOrElse()` is...

`Cache` vs `cached` is confusing, easily leading astray someone familiar with TitleCaseForClasses. Skimming the docs, it is easy to assume `Cache` is an object constructor, _not_ an instance of an...

I think a nice feature would be to allow you to generate a "child" `memcache` client, similar to how `bunyan` does it [(example)](https://github.com/trentm/node-bunyan#logchild). The main benefit to this would be...

There should be an optional validation function for `get` and `getOrElse` operation. If the data fails the validation function, it should count as a cache miss. If the validation function...