{"enrichment":{"faq":[{"a":"redis-js is an HTTP-based Redis client for JavaScript and TypeScript designed for Upstash's serverless infrastructure. It handles caching, session storage, rate limiting, and full-text search while automatically serializing and deserializing JavaScript types\u2014eliminating manual JSON conversion. The SDK supports all Redis data structures and is distributed under the MIT license.","q":"What is redis-js and how does it work with serverless Redis?"},{"a":"Yes, redis-js excels at caching and session storage in serverless environments. It provides straightforward APIs for storing and retrieving cached data with automatic type serialization, making it ideal for managing user sessions, temporary data, and frequently accessed information without the overhead of traditional Redis setup.","q":"Can redis-js be used for redis caching and session storage?"},{"a":"redis-js supports rate limiting and leaderboards through sorted sets and atomic operations. You can use sorted sets to track user scores for leaderboards and implement rate limiting by maintaining counters with TTL expiration. The SDK's automatic serialization simplifies working with these data structures compared to manual approaches.","q":"How do I implement rate limiting and leaderboards with redis-js?"},{"a":"redis-js enables querying and aggregating data with full-text search capabilities. It works with Redis's search functionality to index and retrieve complex data patterns, supporting nested object queries and advanced filtering\u2014all while maintaining automatic serialization of JavaScript types.","q":"Does redis-js support full-text search and data aggregation?"},{"a":"redis-js optimizes performance through pipelines and batching, allowing you to group multiple operations into single requests. This reduces network overhead in serverless environments and improves throughput when executing related commands sequentially or in parallel.","q":"What performance optimizations does redis-js provide?"},{"a":"Yes, redis-js is designed as a migration path from traditional Redis libraries like ioredis and node-redis. While the API differs due to its HTTP-based nature, redis-js provides equivalent functionality for caching, data structures, and session management with the added benefit of serverless compatibility and automatic type handling.","q":"Can I migrate from ioredis or node-redis to redis-js?"}],"shadow_tags":["serverless-database","in-memory-cache","key-value-store","real-time-features","type-serialization","rest-api-client","distributed-systems","performance-optimization","schema-search"],"summary_rewrite":"redis-js is an HTTP-based Redis client for JavaScript and TypeScript that works with Upstash's serverless infrastructure. It handles caching, session storage, rate limiting, and full-text search while automatically serializing and deserializing JavaScript types\u2014no manual JSON conversion needed. The SDK supports all Redis data structures and includes patterns for leaderboards, distributed locks, and performance optimization."},"files":[{"bytes":6619,"path":"skills/SKILL.md","sha256":"9372a462f5f729df459b07309834ebd302c4b0d4e399ac76e1a365b006f5a8fb","url":"https://skillfed.io/files/upstash/redis-js/skills/54199151/SKILL.md"}],"id":"upstash/redis-js/skills","links":{"html":"https://skillfed.io/upstash/redis-js/skills","md":"https://skillfed.io/upstash/redis-js/skills.md","repo":"https://github.com/upstash/redis-js"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":91,"language":"TypeScript","last_updated":"2026-07-27","license":"MIT","name":"redis-js","publisher":"upstash","stars":959},"relations":{"similar":[{"id":"upstash/skills/upstash-redis-js"},{"id":"upstash/skills/upstash"},{"id":"secondsky/claude-skills/bun-redis"},{"id":"upstash/skills/upstash-redis-start"},{"id":"berabuddies/Semia/sparkbtcbot-proxy-deploy"},{"id":"lucaperret/agent-skills/mcp-oauth"},{"id":"upstash/skills/upstash-cli"},{"id":"intellectronica/agent-skills/upstash-redis-kv"},{"id":"jiatastic/open-python-skills/fastapi-design"},{"id":"majiayu000/spellbook/database-patterns"}]},"slug":{"owner":"upstash","repo":"redis-js","skill":"skills"},"version":"54199151"}
