High-performance embedded key-value database with proprietary binary format, AES-256-GCM / ChaCha20-Poly1305 encryption, and atomic writes. Current stable version is 1.0.3, which enforces required encryption keys for all databases. Released under MIT license, with TypeScript types included. Uses a Write-Ahead Log (WAL), snapshotting, compaction, and an in-memory LRU cache. Differentiators: zero-config, military-grade encryption, TTL support, ACID transactions, CLI monitoring, and client libraries for PHP, Kotlin, Java, C++. Node.js >=18 required.
npm install velox-databaseNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes VeloxDB with encryption key, inserts a JSON object and a TTL key, reads them back, and closes.
Provide a strong encryptionKey in the constructor options. Databases created with previous versions cannot be opened without the original key.
Use new VeloxDB({ path: './data', encryptionKey: '...' }) instead of new VeloxDB('./data').Upgrade to v1.0.3 and provide an explicit encryptionKey.
Use import VeloxDB from 'velox-database' or dynamic import().
Run npx velox-db --help for CLI usage.
Upgrade Node.js to 18.0.0 or higher.
Switch to import statement or use dynamic import().
Add encryptionKey to the config object passed to the constructor.
Add await db.ready() before any read/write operations.
Run npm install velox-database.
No dependency data recorded yet.