
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
falkordblite
Advanced tools
Embedded FalkorDB for Node.js/TypeScript. Zero-config graph database that runs locally (redis-server + FalkorDB module) and connects over a Unix socket.
import { FalkorDB } from 'falkordblite';
const db = await FalkorDB.open();
await db.selectGraph('quickstart').query('RETURN 1');
await db.close();
npm install falkordblite
The package automatically installs pre-built Redis + FalkorDB binaries for your platform. No system dependencies required.
If you also want to connect to remote servers, install the upstream client:
npm install falkordb
See the examples/ directory:
basic.ts - minimal usagepersistence.ts - durable data with a pathmultiple-graphs.ts - isolated graphs in one DBmigration.ts - 1-line change to remotegraphrag-example.ts - use with GraphRAG toolingFalkorDB.open(options?)Create a new embedded FalkorDB instance. This resolves binaries, generates a redis.conf, starts a local redis-server process, and connects a falkordb client.
Returns: Promise<FalkorDB>
FalkorDB instance methodsselectGraph(graphId: string): Graphlist(): Promise<string[]>info(section?: string): Promise<unknown> (Redis INFO output)configGet(configKey: string): Promise<unknown>configSet(configKey: string, value: number | string): Promise<void>close(): Promise<void>FalkorDB getterssocketPath: string - Unix socket path for the embedded serverpid: number | undefined - redis-server PIDisRunning: boolean - whether the server is still alivefalkordb)selectGraph() returns the exact Graph type from the falkordb package, so
all graph methods (query, roQuery, delete, copy, explain, profile, slowLog,
constraints, indexes, etc.) work the same. See the upstream client docs for
details.
The package also exports internal building blocks for advanced usage:
ConfigGenerator, ServerManager, BinaryManagerregisterServer, unregisterServerThese are not required for normal usage but can help with custom embedding.
| Option | Type | Default | Description |
|---|---|---|---|
path | string | temp dir | Data directory for persistence. If set, periodic snapshots are enabled. |
redisServerPath | string | auto | Custom redis-server binary path. |
modulePath | string | auto | Custom FalkorDB module (.so) path. |
maxMemory | string | unset | Redis maxmemory, e.g. "256mb". |
logLevel | 'debug' | 'verbose' | 'notice' | 'warning' | unset | Redis log level. |
logFile | string | stdout | Redis log file path. |
timeout | number | 10000 | Startup timeout in milliseconds. |
additionalConfig | Record<string, string> | none | Extra redis.conf key/value pairs. |
falkordbVersion | string | v4.16.3 | FalkorDB module release tag to download. |
inheritStdio | boolean | false | Pipe redis-server stdout/stderr to the parent. |
Tip: use additionalConfig to set a TCP port (for external tools) by adding
{ port: '6379' }.
Your graph code stays the same. Only the import and connection line changes:
// Embedded
import { FalkorDB } from 'falkordblite';
const db = await FalkorDB.open();
// Remote (falkordb-ts)
import { FalkorDB } from 'falkordb';
const db = await FalkorDB.connect({
socket: { host: '127.0.0.1', port: 6379 },
});
| Platform | Status |
|---|---|
| Linux x64 | ✅ Fully supported (binaries included) |
| macOS arm64 | ✅ Fully supported (binaries included) |
| macOS x64 | Use system redis-server + custom module path |
| Windows | Use WSL2 or a remote server |
See TROUBLESHOOTING.md for common issues and fixes.
Contributions are welcome. Please open an issue for major changes, and ensure
npm run lint && npm test && npm run build passes before submitting a PR.
MIT. See LICENSE.
FAQs
Embedded FalkorDB for Node.js/TypeScript — zero-config graph database
We found that falkordblite 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.