
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
disposable-redis
Advanced tools
Automated creation and shutdown of redis server, intended for test scripts.
Will conjure a redis server for you to use and discard.
Intended to be used by automated tests that depend on a redis server.
When first called, will download and compile redis. Subsequent calls will use the existing redis.
// gimme a server
disposableRedis.server(function(err, server) {
console.log("server running on port", server.port);
server.close();
});
// I don't really care about the server, just gimme a node-redis client over it
disposableRedis.client(function(err, result) {
result.client.set("key", "value");
result.close();
});
## Download
npm install disposable-redis
Will assure a server is running, and callback with a server object:
{
port: <integer: server port>
close: <function(callback) - shutdown server. callback param is optional>
}
Arguments
err is null if no error occured.Will assure a server is running, connect a node-redis client, and callback with a client object:
{
client: <connected node-redis client object>
close: <function(callback) - shutdown server. callback param is optional>
}
Arguments
err is null if no error occured.FAQs
Automated creation and shutdown of redis server, intended for test scripts.
The npm package disposable-redis receives a total of 3 weekly downloads. As such, disposable-redis popularity was classified as not popular.
We found that disposable-redis demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.