
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
dicedb-driver
Advanced tools
DiceDB Driver is a lightweight, promise-based database driver for DiceDB with built-in connection pooling.
A fast, promise-based Node.js driver for DiceDB, built for performance and developer joy.
DiceDB Node.js Driver is a lightweight, promise-based database driver for DiceDB with built-in connection pooling. Designed for performance and simplicity, it lets you interact with DiceDB using a clean, modern API.
Install DiceDB Driver using npm or yarn:
npm install dicedb-driver
# or
yarn add dicedb-driver
Import DiceDB directly from a CDN like esm.sh:
import DiceDBClient from "https://esm.sh/dicedb-driver";
DiceDB Driver ships with support for both CJS and ESM modules.
import DiceDBClient from "dicedb-driver";
const client = new DiceDBClient({ host: "localhost", port: 7379 });
await client.connect();
const result = await client.ping();
console.log(result);
await client.disconnect();
const DiceDBClient = require("dicedb-driver").default;
const client = new DiceDB({ host: "localhost", port: 7379 });
(async () => {
await client.connect();
const result = await client.ping();
console.log(result);
await client.disconnect();
})();
DiceJS supports a wide range of DiceDB commands. Below is the list of currently supported commands:
Command | Supported |
---|---|
DECR | ✅ |
DECRBY | ✅ |
DEL | ✅ |
ECHO | ✅ |
EXISTS | ✅ |
EXPIRE | ✅ |
EXPIREAT | ✅ |
EXPIRETIME | ✅ |
FLUSHDB | ✅ |
GET | ✅ |
GETDEL | ✅ |
GETEX | ✅ |
GETSET | ✅ |
GET.WATCH | ✅ |
HANDSHAKE | ✅ |
HGET | ✅ |
HGETALL | ✅ |
HGETALL.WATCH | ✅ |
HGET.WATCH | ✅ |
HSET | ✅ |
INCR | ✅ |
INCRBY | ✅ |
KEYS | ✅ |
PING | ✅ |
SET | ✅ |
TTL | ✅ |
TYPE | ✅ |
UNWATCH | ✅ |
ZADD | ✅ |
ZCARD | ✅ |
ZCARD.WATCH | ✅ |
ZCOUNT | ✅ |
ZCOUNT.WATCH | ✅ |
ZPOPMAX | ✅ |
ZPOPMIN | ✅ |
ZRANGE | ✅ |
ZRANGE.WATCH | ✅ |
ZRANK | ✅ |
ZRANK.WATCH | ✅ |
ZREM | ✅ |
Check out the documentation on GitHub or explore it on the docs website for a nicer reading experience.
This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
DiceDB Driver is a lightweight, promise-based database driver for DiceDB with built-in connection pooling.
We found that dicedb-driver demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.