Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
redis-connection-pool
Advanced tools
A node.js connection pool for Redis.
node-redis-connection-pool is a high-level redis management object. It manages a number of connections in a pool, using them as needed and keeping all aspects of releasing active connections internal to the object, so the user does not need to worry about forgotten connections leaking resources.
npm install redis-connection-pool
var redisPool = require('redis-connection-pool')('myRedisPool', {
host: '127.0.0.1', // default
port: 6379, //default
// optionally specify full redis url, overrides host + port properties
// url: "redis://username:password@host:port"
max_clients: 30, // defalut
perform_checks: false, // checks for needed push/pop functionality
database: 0, // database number to use
options: {
auth_pass: 'password'
} //options for createClient of node-redis, optional
});
redisPool.set('test-key', 'foobar', function (err) {
redisPool.get('test-key', function (err, reply) {
console.log(reply); // 'foobar'
});
});
get(key, cb)
set(key, value, callback)
expire(key, value, callback)
del(key, callback)
hget(key, field, callback)
hgetall(key, callback)
hset(key, field, value, callback)
hdel(key, [fields], callback)
brpop(key, cb)
brpoplpush(key1, key2, callback)
blpop(key, cb)
rpush(key, value, callback)
lpush(key, value, callback)
node-redis-connection-pool uses jsdoc-to-markdown to generate the API.md from the source code.
FAQs
a redis client connection pool
The npm package redis-connection-pool receives a total of 565 weekly downloads. As such, redis-connection-pool popularity was classified as not popular.
We found that redis-connection-pool demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.