High-performance, SOLID-structured RESP client for Redis and other RESP-compatible servers Overview • Features • Installation • Usage • Configuration • Advanced • Errors • License Overview Solidis is a modern RESP client built with SOLID principles, zero dependencies, and enterprise-grade performance in mind. It supports both RESP2 and RESP3 protocols and is optimized for modern JavaScript/TypeScript applications. The library is designed for minimal bundle size with maximum type safety and performance: Pure ESM/CJS - Support for both module systems - Support for both module systems Tree-shakable - Import only what you need - Import only what you need Type-safe - Extensive TypeScript definitions for all commands - Extensive TypeScript definitions for all commands Dependency-free - Absolutely zero runtime dependencies Key Features High Performance Efficient pipeline & batch processing Minimal memory footprint (custom optimized parser) Zero-copy buffer operations Intelligent buffer management Protocol Support RESP2 & RESP3 protocol support Automatic protocol negotiation Binary-safe operations Full multi-byte character support Advanced Features Transaction support (MULTI/EXEC) Pipeline operations Pub/Sub functionality Automatic reconnection Command timeout handling Type Safety Robust TypeScript support Comprehensive type definitions Command-specific type guards Runtime reply type checking Extensibility Easy to extend client with internal & external commands Customizable transaction handling Plugin architecture support Lightweight Zero dependencies Minimum bundle size < 30KB Full bundle size (with all commands) < 105KB Requirements Runtime : Node.js 14 or higher : Node.js 14 or higher Development: Node.js 22 LTS recommended for optimal stability Installation # Using npm npm install @vcms-io/solidis # Using yarn yarn add @vcms-io/solidis # Using pnpm pnpm add @vcms-io/solidis Usage Client Types Solidis offers two client implementations: 1. Basic Client (SolidisClient) The...
First seen: 2025-05-16 22:45
Last seen: 2025-05-17 05:46