{"_id":"@adesh-bhore/dragonfly-cli","name":"@adesh-bhore/dragonfly-cli","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@adesh-bhore/dragonfly-cli","version":"1.0.0","description":"Command-line client for DragonFlyDB - A high-performance Redis-like key-value store with epoll-based server","main":"index.js","bin":{"dragonfly-cli":"bin/dragonfly-cli.js"},"scripts":{"postinstall":"node install.js","test":"echo \"Error: no test specified\" && exit 1"},"keywords":["dragonfly","dragonflydb","redis","cli","key-value","database","client","epoll","high-performance"],"author":{"name":"Adesh Bhore","email":"adeshbhore107@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/adesh-bhore/Multithreaded-Key-Value-Store-Nothing-Shared-Architecture.git"},"bugs":{"url":"https://github.com/adesh-bhore/Multithreaded-Key-Value-Store-Nothing-Shared-Architecture/issues"},"homepage":"https://github.com/adesh-bhore/Multithreaded-Key-Value-Store-Nothing-Shared-Architecture#readme","engines":{"node":">=12.0.0"},"os":["linux","darwin","win32"],"_id":"@adesh-bhore/dragonfly-cli@1.0.0","gitHead":"34bc64a136de0fa2410f331ebd0821272bcd5c2b","_nodeVersion":"20.19.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-brpuSLaqXVMf3PKwMZISVu4I1daXZfcdgk3v62nV78+eJ75bEtDkiuOvZY/nAaAkLJpmL9gKFnPTwawqmVPKWg==","shasum":"8991640254ed56669b6f4b82633ced3b595bc9ad","tarball":"https://registry.npmjs.org/@adesh-bhore/dragonfly-cli/-/dragonfly-cli-1.0.0.tgz","fileCount":11,"unpackedSize":40039,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIB1M93ZfQ2OZ4U+L4LpKyM2mqRGOF/l7YDh2YvAge8K6AiAstjgqrHguC0XzOdnOspsWHPPRpYQSigeizkgK+Htxsg=="}]},"_npmUser":{"name":"adesh-bhore","email":"Adeshbhore107@gmail.com"},"directories":{},"maintainers":[{"name":"adesh-bhore","email":"Adeshbhore107@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dragonfly-cli_1.0.0_1777143641031_0.47195699789271073"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-25T19:00:40.940Z","1.0.0":"2026-04-25T19:00:41.201Z","modified":"2026-04-25T19:00:41.391Z"},"maintainers":[{"name":"adesh-bhore","email":"Adeshbhore107@gmail.com"}],"description":"Command-line client for DragonFlyDB - A high-performance Redis-like key-value store with epoll-based server","homepage":"https://github.com/adesh-bhore/Multithreaded-Key-Value-Store-Nothing-Shared-Architecture#readme","keywords":["dragonfly","dragonflydb","redis","cli","key-value","database","client","epoll","high-performance"],"repository":{"type":"git","url":"git+https://github.com/adesh-bhore/Multithreaded-Key-Value-Store-Nothing-Shared-Architecture.git"},"author":{"name":"Adesh Bhore","email":"adeshbhore107@gmail.com"},"bugs":{"url":"https://github.com/adesh-bhore/Multithreaded-Key-Value-Store-Nothing-Shared-Architecture/issues"},"license":"MIT","readme":"# dragonfly-cli\r\n\r\nCommand-line client for DragonFlyDB - A high-performance, multi-threaded key-value store with Redis-like protocol.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install -g dragonfly-cli\r\n```\r\n\r\n**Requirements:**\r\n- Node.js >= 12\r\n- gcc compiler (for building the native client)\r\n\r\n### Installing gcc\r\n\r\n**macOS:**\r\n```bash\r\nxcode-select --install\r\n```\r\n\r\n**Ubuntu/Debian:**\r\n```bash\r\nsudo apt install gcc\r\n```\r\n\r\n**Windows:**\r\n- Install MinGW from https://www.mingw-w64.org/\r\n\r\n## Usage\r\n\r\n```bash\r\n# Connect to localhost:6379\r\ndragonfly-cli\r\n\r\n# Connect to remote server\r\ndragonfly-cli <host> <port>\r\n\r\n# Example\r\ndragonfly-cli 51.21.226.149 6379\r\n```\r\n\r\n## Commands\r\n\r\nOnce connected, you can use these commands:\r\n\r\n```\r\nSET key value    - Set a key to a value\r\nGET key          - Get the value of a key\r\nBEGIN            - Start a transaction\r\nCOMMIT           - Commit a transaction\r\nQUIT             - Disconnect from server\r\nhelp             - Show help message\r\n```\r\n\r\n## Example Session\r\n\r\n```bash\r\n$ dragonfly-cli 51.21.226.149 6379\r\n=== DragonFlyDB Client ===\r\n\r\nConnecting to 51.21.226.149:6379...\r\nConnected to DragonFlyDB at 51.21.226.149:6379\r\nType commands (SET key value, GET key, BEGIN, COMMIT, QUIT)\r\nType 'help' for command list\r\n\r\ndragonfly> SET user:1 alice\r\nOK\r\n\r\ndragonfly> GET user:1\r\n\"alice\"\r\n\r\ndragonfly> BEGIN\r\nOK\r\n\r\ndragonfly> SET user:2 bob\r\nOK\r\n\r\ndragonfly> SET user:3 charlie\r\nOK\r\n\r\ndragonfly> COMMIT\r\nOK\r\n\r\ndragonfly> QUIT\r\nOK\r\n\r\nDisconnected.\r\n```\r\n\r\n## Features\r\n\r\n- ✅ Redis-like protocol\r\n- ✅ Transaction support (BEGIN/COMMIT)\r\n- ✅ Multi-threaded server architecture\r\n- ✅ Cross-platform (Linux, macOS, Windows)\r\n- ✅ Low latency, high throughput\r\n\r\n## Server\r\n\r\nThis client connects to DragonFlyDB servers. The server uses a nothing-shared architecture with:\r\n- 4 shard workers for parallel processing\r\n- Hash-based key routing\r\n- Two-phase commit for transactions\r\n- Thread-per-connection model\r\n\r\n## License\r\n\r\nMIT\r\n\r\n## Author\r\n\r\nYour Name <your.email@example.com>\r\n\r\n## Repository\r\n\r\nhttps://github.com/YOUR_USERNAME/dragonfly-cli\r\n\r\n## Issues\r\n\r\nhttps://github.com/YOUR_USERNAME/dragonfly-cli/issues\r\n","readmeFilename":"README.md","_rev":"1-14e69378de9abfde4f3f7841d24fab7f"}