[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-upstash-upstash-redis-js":3,"mdc--lvxrqg-key":34,"related-org-upstash-upstash-redis-js":3093,"related-repo-upstash-upstash-redis-js":3269},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":29,"sourceUrl":32,"mdContent":33},"upstash-redis-js","manage serverless Redis with Upstash","Work with the Upstash Redis TypeScript\u002FJavaScript SDK for serverless Redis operations. Use for caching, session storage, rate limiting, leaderboards, full-text search (querying, filtering, aggregating) with Upstash Redis Search (different from regular FT.SEARCH), and all Redis data structures. Supports automatic serialization\u002Fdeserialization of JavaScript types. Upstash Redis Search also available via @upstash\u002Fsearch-redis and @upstash\u002Fsearch-ioredis adapters for TCP clients.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"upstash","Upstash","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fupstash.png",[12,16,19,20],{"name":13,"slug":14,"type":15},"Node.js","node-js","tag",{"name":17,"slug":18,"type":15},"Redis","redis",{"name":9,"slug":8,"type":15},{"name":21,"slug":22,"type":15},"Serverless","serverless",15,"https:\u002F\u002Fgithub.com\u002Fupstash\u002Fskills","2026-04-06T18:55:22.793505",null,2,[],{"repoUrl":24,"stars":23,"forks":27,"topics":30,"description":31},[],"Collection of skills for Upstash","https:\u002F\u002Fgithub.com\u002Fupstash\u002Fskills\u002Ftree\u002FHEAD\u002Fskills\u002Fupstash-redis-js","---\nname: upstash-redis-js\ndescription: Work with the Upstash Redis TypeScript\u002FJavaScript SDK for serverless Redis operations. Use for caching, session storage, rate limiting, leaderboards, full-text search (querying, filtering, aggregating) with Upstash Redis Search (different from regular FT.SEARCH), and all Redis data structures. Supports automatic serialization\u002Fdeserialization of JavaScript types. Upstash Redis Search also available via @upstash\u002Fsearch-redis and @upstash\u002Fsearch-ioredis adapters for TCP clients.\n---\n\n# Upstash Redis SDK - Complete Skills Guide\n\nThis directory contains comprehensive guides for using the `@upstash\u002Fredis` SDK. These skill files are designed to help developers and AI assistants understand and use the SDK effectively.\n\n## Installation\n\n```bash\nnpm install @upstash\u002Fredis\n```\n\n## Quick Start\n\n### Basic Initialization\n\n```typescript\nimport { Redis } from \"@upstash\u002Fredis\";\n\n\u002F\u002F Initialize with explicit credentials\nconst redis = new Redis({\n  url: \"UPSTASH_REDIS_REST_URL\",\n  token: \"UPSTASH_REDIS_REST_TOKEN\",\n});\n\n\u002F\u002F Or initialize from environment variables\nconst redis = Redis.fromEnv();\n```\n\n### Environment Variables\n\nSet these in your `.env` file:\n\n```bash\nUPSTASH_REDIS_REST_URL=https:\u002F\u002Fyour-redis.upstash.io\nUPSTASH_REDIS_REST_TOKEN=your-token-here\n```\n\n> **No credentials yet?** If you're an agent that needs scratch Redis and the user hasn't provided a database, you can mint a temporary one with a single POST to `https:\u002F\u002Fupstash.com\u002Fstart-redis` (3-day TTL, no signup).\n\n## Skill Files Overview\n\n### Data Structures (data-structures\u002F)\n\nRedis data types with auto-serialization examples:\n\n- **strings.md** - GET, SET, INCR, DECR, APPEND with automatic type handling\n- **hashes.md** - HSET, HGET, HMGET with object serialization\n- **lists.md** - LPUSH, RPUSH, LRANGE with array handling\n- **sets.md** - SADD, SMEMBERS, set operations\n- **sorted-sets.md** - ZADD, ZRANGE, ZRANK, leaderboard patterns\n- **json.md** - JSON.SET, JSON.GET, JSONPath queries for nested objects\n- **streams.md** - XADD, XREAD, XGROUP, consumer groups\n\n### Advanced Features (advanced-features\u002F)\n\nComplex operations and optimizations:\n\n- **auto-pipeline.md** - Automatic request batching, performance optimization\n- **pipeline-and-transactions.md** - Manual pipelines, MULTI\u002FEXEC for atomic operations\n- **scripting.md** - Lua scripts, EVAL, EVALSHA for server-side logic\n\n### Patterns (patterns\u002F)\n\nCommon use cases and architectural patterns:\n\n- **caching.md** - Cache-aside, write-through, TTL strategies\n- **rate-limiting.md** - Integration with @upstash\u002Fratelimit package\n- **session-management.md** - Session storage and user state management\n- **distributed-locks.md** - Lock implementations, deadlock prevention\n- **leaderboard.md** - Sorted set leaderboards, real-time rankings\n\n### Performance (performance\u002F)\n\nOptimization techniques and best practices:\n\n- **batching-operations.md** - MGET, MSET, batch operations\n- **pipeline-optimization.md** - When to use pipelines, performance tips\n- **ttl-expiration.md** - Key expiration strategies, memory management\n- **data-serialization.md** - Deep dive into auto serialization, custom serializers, edge cases\n- **error-handling.md** - Error types, retry strategies, timeout handling, debugging tips\n- **redis-replicas.md** - Global database setup, read replicas, read-your-writes consistency\n\n### Search (search\u002F)\n\nFull-text search, filtering, and aggregation extension for Redis:\n\n- **overview.md** - Schema definition, field types, pitfalls, package overview\n- **commands\u002Fquerying.md** - Query and count with filters, pagination, sorting, highlighting\n- **commands\u002Faggregating.md** - Metric aggregations ($avg, $sum, $stats), bucket aggregations ($terms, $range, $histogram, $facet)\n- **commands\u002Findex-management.md** - Create, describe, drop indexes, waitIndexing\n- **commands\u002Faliases.md** - Index aliases for zero-downtime reindexing\n- **adapters.md** - Using search with node-redis and ioredis via @upstash\u002Fsearch-redis and @upstash\u002Fsearch-ioredis\n\n### Migrations (migrations\u002F)\n\nMigration guides from other libraries:\n\n- **from-ioredis.md** - Migration from ioredis, key differences, serialization changes\n- **from-redis-node.md** - Migration from node-redis, API differences\n\n## Common Mistakes (Especially for LLMs)\n\n### ❌ Mistake 1: Treating Everything as Strings\n\n```typescript\n\u002F\u002F ❌ WRONG - Don't do this with @upstash\u002Fredis\nawait redis.set(\"count\", \"42\"); \u002F\u002F Stored as string \"42\"\nconst count = await redis.get(\"count\");\nconst incremented = parseInt(count) + 1; \u002F\u002F Manual parsing needed\n\n\u002F\u002F ✅ CORRECT - Let the SDK handle it\nawait redis.set(\"count\", 42); \u002F\u002F Stored as number\nconst count = await redis.get(\"count\");\nconst incremented = count + 1; \u002F\u002F Just use it\n```\n\n### ❌ Mistake 2: Manual JSON Serialization\n\n```typescript\n\u002F\u002F ❌ WRONG - Unnecessary with @upstash\u002Fredis\nawait redis.set(\"user\", JSON.stringify({ name: \"Alice\" }));\nconst user = JSON.parse(await redis.get(\"user\"));\n\n\u002F\u002F ✅ CORRECT - Automatic handling\nawait redis.set(\"user\", { name: \"Alice\" });\nconst user = await redis.get(\"user\");\n```\n\n## Quick Command Reference\n\n```typescript\n\u002F\u002F Strings\nawait redis.set(\"key\", \"value\");\nawait redis.get(\"key\");\nawait redis.incr(\"counter\");\nawait redis.decr(\"counter\");\n\n\u002F\u002F Hashes\nawait redis.hset(\"user:1\", { name: \"Alice\", age: 30 });\nawait redis.hget(\"user:1\", \"name\");\nawait redis.hgetall(\"user:1\");\n\n\u002F\u002F Lists\nawait redis.lpush(\"tasks\", \"task1\", \"task2\");\nawait redis.rpush(\"tasks\", \"task3\");\nawait redis.lrange(\"tasks\", 0, -1);\n\n\u002F\u002F Sets\nawait redis.sadd(\"tags\", \"javascript\", \"redis\");\nawait redis.smembers(\"tags\");\n\n\u002F\u002F Sorted Sets\nawait redis.zadd(\"leaderboard\", { score: 100, member: \"player1\" });\nawait redis.zrange(\"leaderboard\", 0, -1);\n\n\u002F\u002F JSON\nawait redis.json.set(\"user:1\", \"$\", { name: \"Alice\", address: { city: \"NYC\" } });\nawait redis.json.get(\"user:1\");\n\n\u002F\u002F Expiration\nawait redis.setex(\"session\", 3600, { userId: \"123\" });\nawait redis.expire(\"key\", 60);\nawait redis.ttl(\"key\");\n```\n\n## Best Practices\n\n1. **Use environment variables** for credentials, never hardcode\n2. **Leverage auto-serialization** - pass native JavaScript types\n3. **Use TypeScript types** for better type safety\n4. **Set appropriate TTLs** to manage memory\n5. **Use pipelines** for multiple operations\n6. **Namespace your keys** (e.g., `user:123`, `session:abc`)\n\n## Resources\n\n- [Official Documentation](https:\u002F\u002Fupstash.com\u002Fdocs\u002Fredis)\n- [GitHub Repository](https:\u002F\u002Fgithub.com\u002Fupstash\u002Fredis-js)\n- [API Reference](https:\u002F\u002Fupstash.com\u002Fdocs\u002Fredis\u002Fsdks\u002Fts\u002Foverview)\n- [Examples](https:\u002F\u002Fgithub.com\u002Fupstash\u002Fredis-js\u002Ftree\u002Fmain\u002Fexamples)\n\n## Getting Help\n\nFor detailed information on specific topics, refer to the individual skill files in the `skills\u002F` directory. Each file contains comprehensive examples, use cases, and best practices for its topic.\n",{"data":35,"body":36},{"name":4,"description":6},{"type":37,"children":38},"root",[39,48,63,70,104,110,117,372,378,391,430,453,459,465,470,545,551,556,589,595,600,653,659,664,727,733,738,801,807,812,835,841,847,1200,1206,1537,1543,2932,2938,3017,3023,3068,3074,3087],{"type":40,"tag":41,"props":42,"children":44},"element","h1",{"id":43},"upstash-redis-sdk-complete-skills-guide",[45],{"type":46,"value":47},"text","Upstash Redis SDK - Complete Skills Guide",{"type":40,"tag":49,"props":50,"children":51},"p",{},[52,54,61],{"type":46,"value":53},"This directory contains comprehensive guides for using the ",{"type":40,"tag":55,"props":56,"children":58},"code",{"className":57},[],[59],{"type":46,"value":60},"@upstash\u002Fredis",{"type":46,"value":62}," SDK. These skill files are designed to help developers and AI assistants understand and use the SDK effectively.",{"type":40,"tag":64,"props":65,"children":67},"h2",{"id":66},"installation",[68],{"type":46,"value":69},"Installation",{"type":40,"tag":71,"props":72,"children":77},"pre",{"className":73,"code":74,"language":75,"meta":76,"style":76},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npm install @upstash\u002Fredis\n","bash","",[78],{"type":40,"tag":55,"props":79,"children":80},{"__ignoreMap":76},[81],{"type":40,"tag":82,"props":83,"children":86},"span",{"class":84,"line":85},"line",1,[87,93,99],{"type":40,"tag":82,"props":88,"children":90},{"style":89},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[91],{"type":46,"value":92},"npm",{"type":40,"tag":82,"props":94,"children":96},{"style":95},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[97],{"type":46,"value":98}," install",{"type":40,"tag":82,"props":100,"children":101},{"style":95},[102],{"type":46,"value":103}," @upstash\u002Fredis\n",{"type":40,"tag":64,"props":105,"children":107},{"id":106},"quick-start",[108],{"type":46,"value":109},"Quick Start",{"type":40,"tag":111,"props":112,"children":114},"h3",{"id":113},"basic-initialization",[115],{"type":46,"value":116},"Basic Initialization",{"type":40,"tag":71,"props":118,"children":122},{"className":119,"code":120,"language":121,"meta":76,"style":76},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { Redis } from \"@upstash\u002Fredis\";\n\n\u002F\u002F Initialize with explicit credentials\nconst redis = new Redis({\n  url: \"UPSTASH_REDIS_REST_URL\",\n  token: \"UPSTASH_REDIS_REST_TOKEN\",\n});\n\n\u002F\u002F Or initialize from environment variables\nconst redis = Redis.fromEnv();\n","typescript",[123],{"type":40,"tag":55,"props":124,"children":125},{"__ignoreMap":76},[126,176,185,195,235,268,298,316,324,333],{"type":40,"tag":82,"props":127,"children":128},{"class":84,"line":85},[129,135,141,147,152,157,162,166,171],{"type":40,"tag":82,"props":130,"children":132},{"style":131},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[133],{"type":46,"value":134},"import",{"type":40,"tag":82,"props":136,"children":138},{"style":137},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[139],{"type":46,"value":140}," {",{"type":40,"tag":82,"props":142,"children":144},{"style":143},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[145],{"type":46,"value":146}," Redis",{"type":40,"tag":82,"props":148,"children":149},{"style":137},[150],{"type":46,"value":151}," }",{"type":40,"tag":82,"props":153,"children":154},{"style":131},[155],{"type":46,"value":156}," from",{"type":40,"tag":82,"props":158,"children":159},{"style":137},[160],{"type":46,"value":161}," \"",{"type":40,"tag":82,"props":163,"children":164},{"style":95},[165],{"type":46,"value":60},{"type":40,"tag":82,"props":167,"children":168},{"style":137},[169],{"type":46,"value":170},"\"",{"type":40,"tag":82,"props":172,"children":173},{"style":137},[174],{"type":46,"value":175},";\n",{"type":40,"tag":82,"props":177,"children":178},{"class":84,"line":27},[179],{"type":40,"tag":82,"props":180,"children":182},{"emptyLinePlaceholder":181},true,[183],{"type":46,"value":184},"\n",{"type":40,"tag":82,"props":186,"children":188},{"class":84,"line":187},3,[189],{"type":40,"tag":82,"props":190,"children":192},{"style":191},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[193],{"type":46,"value":194},"\u002F\u002F Initialize with explicit credentials\n",{"type":40,"tag":82,"props":196,"children":198},{"class":84,"line":197},4,[199,205,210,215,220,225,230],{"type":40,"tag":82,"props":200,"children":202},{"style":201},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[203],{"type":46,"value":204},"const",{"type":40,"tag":82,"props":206,"children":207},{"style":143},[208],{"type":46,"value":209}," redis ",{"type":40,"tag":82,"props":211,"children":212},{"style":137},[213],{"type":46,"value":214},"=",{"type":40,"tag":82,"props":216,"children":217},{"style":137},[218],{"type":46,"value":219}," new",{"type":40,"tag":82,"props":221,"children":223},{"style":222},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[224],{"type":46,"value":146},{"type":40,"tag":82,"props":226,"children":227},{"style":143},[228],{"type":46,"value":229},"(",{"type":40,"tag":82,"props":231,"children":232},{"style":137},[233],{"type":46,"value":234},"{\n",{"type":40,"tag":82,"props":236,"children":238},{"class":84,"line":237},5,[239,245,250,254,259,263],{"type":40,"tag":82,"props":240,"children":242},{"style":241},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[243],{"type":46,"value":244},"  url",{"type":40,"tag":82,"props":246,"children":247},{"style":137},[248],{"type":46,"value":249},":",{"type":40,"tag":82,"props":251,"children":252},{"style":137},[253],{"type":46,"value":161},{"type":40,"tag":82,"props":255,"children":256},{"style":95},[257],{"type":46,"value":258},"UPSTASH_REDIS_REST_URL",{"type":40,"tag":82,"props":260,"children":261},{"style":137},[262],{"type":46,"value":170},{"type":40,"tag":82,"props":264,"children":265},{"style":137},[266],{"type":46,"value":267},",\n",{"type":40,"tag":82,"props":269,"children":271},{"class":84,"line":270},6,[272,277,281,285,290,294],{"type":40,"tag":82,"props":273,"children":274},{"style":241},[275],{"type":46,"value":276},"  token",{"type":40,"tag":82,"props":278,"children":279},{"style":137},[280],{"type":46,"value":249},{"type":40,"tag":82,"props":282,"children":283},{"style":137},[284],{"type":46,"value":161},{"type":40,"tag":82,"props":286,"children":287},{"style":95},[288],{"type":46,"value":289},"UPSTASH_REDIS_REST_TOKEN",{"type":40,"tag":82,"props":291,"children":292},{"style":137},[293],{"type":46,"value":170},{"type":40,"tag":82,"props":295,"children":296},{"style":137},[297],{"type":46,"value":267},{"type":40,"tag":82,"props":299,"children":301},{"class":84,"line":300},7,[302,307,312],{"type":40,"tag":82,"props":303,"children":304},{"style":137},[305],{"type":46,"value":306},"}",{"type":40,"tag":82,"props":308,"children":309},{"style":143},[310],{"type":46,"value":311},")",{"type":40,"tag":82,"props":313,"children":314},{"style":137},[315],{"type":46,"value":175},{"type":40,"tag":82,"props":317,"children":319},{"class":84,"line":318},8,[320],{"type":40,"tag":82,"props":321,"children":322},{"emptyLinePlaceholder":181},[323],{"type":46,"value":184},{"type":40,"tag":82,"props":325,"children":327},{"class":84,"line":326},9,[328],{"type":40,"tag":82,"props":329,"children":330},{"style":191},[331],{"type":46,"value":332},"\u002F\u002F Or initialize from environment variables\n",{"type":40,"tag":82,"props":334,"children":336},{"class":84,"line":335},10,[337,341,345,349,353,358,363,368],{"type":40,"tag":82,"props":338,"children":339},{"style":201},[340],{"type":46,"value":204},{"type":40,"tag":82,"props":342,"children":343},{"style":143},[344],{"type":46,"value":209},{"type":40,"tag":82,"props":346,"children":347},{"style":137},[348],{"type":46,"value":214},{"type":40,"tag":82,"props":350,"children":351},{"style":143},[352],{"type":46,"value":146},{"type":40,"tag":82,"props":354,"children":355},{"style":137},[356],{"type":46,"value":357},".",{"type":40,"tag":82,"props":359,"children":360},{"style":222},[361],{"type":46,"value":362},"fromEnv",{"type":40,"tag":82,"props":364,"children":365},{"style":143},[366],{"type":46,"value":367},"()",{"type":40,"tag":82,"props":369,"children":370},{"style":137},[371],{"type":46,"value":175},{"type":40,"tag":111,"props":373,"children":375},{"id":374},"environment-variables",[376],{"type":46,"value":377},"Environment Variables",{"type":40,"tag":49,"props":379,"children":380},{},[381,383,389],{"type":46,"value":382},"Set these in your ",{"type":40,"tag":55,"props":384,"children":386},{"className":385},[],[387],{"type":46,"value":388},".env",{"type":46,"value":390}," file:",{"type":40,"tag":71,"props":392,"children":394},{"className":73,"code":393,"language":75,"meta":76,"style":76},"UPSTASH_REDIS_REST_URL=https:\u002F\u002Fyour-redis.upstash.io\nUPSTASH_REDIS_REST_TOKEN=your-token-here\n",[395],{"type":40,"tag":55,"props":396,"children":397},{"__ignoreMap":76},[398,414],{"type":40,"tag":82,"props":399,"children":400},{"class":84,"line":85},[401,405,409],{"type":40,"tag":82,"props":402,"children":403},{"style":143},[404],{"type":46,"value":258},{"type":40,"tag":82,"props":406,"children":407},{"style":137},[408],{"type":46,"value":214},{"type":40,"tag":82,"props":410,"children":411},{"style":95},[412],{"type":46,"value":413},"https:\u002F\u002Fyour-redis.upstash.io\n",{"type":40,"tag":82,"props":415,"children":416},{"class":84,"line":27},[417,421,425],{"type":40,"tag":82,"props":418,"children":419},{"style":143},[420],{"type":46,"value":289},{"type":40,"tag":82,"props":422,"children":423},{"style":137},[424],{"type":46,"value":214},{"type":40,"tag":82,"props":426,"children":427},{"style":95},[428],{"type":46,"value":429},"your-token-here\n",{"type":40,"tag":431,"props":432,"children":433},"blockquote",{},[434],{"type":40,"tag":49,"props":435,"children":436},{},[437,443,445,451],{"type":40,"tag":438,"props":439,"children":440},"strong",{},[441],{"type":46,"value":442},"No credentials yet?",{"type":46,"value":444}," If you're an agent that needs scratch Redis and the user hasn't provided a database, you can mint a temporary one with a single POST to ",{"type":40,"tag":55,"props":446,"children":448},{"className":447},[],[449],{"type":46,"value":450},"https:\u002F\u002Fupstash.com\u002Fstart-redis",{"type":46,"value":452}," (3-day TTL, no signup).",{"type":40,"tag":64,"props":454,"children":456},{"id":455},"skill-files-overview",[457],{"type":46,"value":458},"Skill Files Overview",{"type":40,"tag":111,"props":460,"children":462},{"id":461},"data-structures-data-structures",[463],{"type":46,"value":464},"Data Structures (data-structures\u002F)",{"type":40,"tag":49,"props":466,"children":467},{},[468],{"type":46,"value":469},"Redis data types with auto-serialization examples:",{"type":40,"tag":471,"props":472,"children":473},"ul",{},[474,485,495,505,515,525,535],{"type":40,"tag":475,"props":476,"children":477},"li",{},[478,483],{"type":40,"tag":438,"props":479,"children":480},{},[481],{"type":46,"value":482},"strings.md",{"type":46,"value":484}," - GET, SET, INCR, DECR, APPEND with automatic type handling",{"type":40,"tag":475,"props":486,"children":487},{},[488,493],{"type":40,"tag":438,"props":489,"children":490},{},[491],{"type":46,"value":492},"hashes.md",{"type":46,"value":494}," - HSET, HGET, HMGET with object serialization",{"type":40,"tag":475,"props":496,"children":497},{},[498,503],{"type":40,"tag":438,"props":499,"children":500},{},[501],{"type":46,"value":502},"lists.md",{"type":46,"value":504}," - LPUSH, RPUSH, LRANGE with array handling",{"type":40,"tag":475,"props":506,"children":507},{},[508,513],{"type":40,"tag":438,"props":509,"children":510},{},[511],{"type":46,"value":512},"sets.md",{"type":46,"value":514}," - SADD, SMEMBERS, set operations",{"type":40,"tag":475,"props":516,"children":517},{},[518,523],{"type":40,"tag":438,"props":519,"children":520},{},[521],{"type":46,"value":522},"sorted-sets.md",{"type":46,"value":524}," - ZADD, ZRANGE, ZRANK, leaderboard patterns",{"type":40,"tag":475,"props":526,"children":527},{},[528,533],{"type":40,"tag":438,"props":529,"children":530},{},[531],{"type":46,"value":532},"json.md",{"type":46,"value":534}," - JSON.SET, JSON.GET, JSONPath queries for nested objects",{"type":40,"tag":475,"props":536,"children":537},{},[538,543],{"type":40,"tag":438,"props":539,"children":540},{},[541],{"type":46,"value":542},"streams.md",{"type":46,"value":544}," - XADD, XREAD, XGROUP, consumer groups",{"type":40,"tag":111,"props":546,"children":548},{"id":547},"advanced-features-advanced-features",[549],{"type":46,"value":550},"Advanced Features (advanced-features\u002F)",{"type":40,"tag":49,"props":552,"children":553},{},[554],{"type":46,"value":555},"Complex operations and optimizations:",{"type":40,"tag":471,"props":557,"children":558},{},[559,569,579],{"type":40,"tag":475,"props":560,"children":561},{},[562,567],{"type":40,"tag":438,"props":563,"children":564},{},[565],{"type":46,"value":566},"auto-pipeline.md",{"type":46,"value":568}," - Automatic request batching, performance optimization",{"type":40,"tag":475,"props":570,"children":571},{},[572,577],{"type":40,"tag":438,"props":573,"children":574},{},[575],{"type":46,"value":576},"pipeline-and-transactions.md",{"type":46,"value":578}," - Manual pipelines, MULTI\u002FEXEC for atomic operations",{"type":40,"tag":475,"props":580,"children":581},{},[582,587],{"type":40,"tag":438,"props":583,"children":584},{},[585],{"type":46,"value":586},"scripting.md",{"type":46,"value":588}," - Lua scripts, EVAL, EVALSHA for server-side logic",{"type":40,"tag":111,"props":590,"children":592},{"id":591},"patterns-patterns",[593],{"type":46,"value":594},"Patterns (patterns\u002F)",{"type":40,"tag":49,"props":596,"children":597},{},[598],{"type":46,"value":599},"Common use cases and architectural patterns:",{"type":40,"tag":471,"props":601,"children":602},{},[603,613,623,633,643],{"type":40,"tag":475,"props":604,"children":605},{},[606,611],{"type":40,"tag":438,"props":607,"children":608},{},[609],{"type":46,"value":610},"caching.md",{"type":46,"value":612}," - Cache-aside, write-through, TTL strategies",{"type":40,"tag":475,"props":614,"children":615},{},[616,621],{"type":40,"tag":438,"props":617,"children":618},{},[619],{"type":46,"value":620},"rate-limiting.md",{"type":46,"value":622}," - Integration with @upstash\u002Fratelimit package",{"type":40,"tag":475,"props":624,"children":625},{},[626,631],{"type":40,"tag":438,"props":627,"children":628},{},[629],{"type":46,"value":630},"session-management.md",{"type":46,"value":632}," - Session storage and user state management",{"type":40,"tag":475,"props":634,"children":635},{},[636,641],{"type":40,"tag":438,"props":637,"children":638},{},[639],{"type":46,"value":640},"distributed-locks.md",{"type":46,"value":642}," - Lock implementations, deadlock prevention",{"type":40,"tag":475,"props":644,"children":645},{},[646,651],{"type":40,"tag":438,"props":647,"children":648},{},[649],{"type":46,"value":650},"leaderboard.md",{"type":46,"value":652}," - Sorted set leaderboards, real-time rankings",{"type":40,"tag":111,"props":654,"children":656},{"id":655},"performance-performance",[657],{"type":46,"value":658},"Performance (performance\u002F)",{"type":40,"tag":49,"props":660,"children":661},{},[662],{"type":46,"value":663},"Optimization techniques and best practices:",{"type":40,"tag":471,"props":665,"children":666},{},[667,677,687,697,707,717],{"type":40,"tag":475,"props":668,"children":669},{},[670,675],{"type":40,"tag":438,"props":671,"children":672},{},[673],{"type":46,"value":674},"batching-operations.md",{"type":46,"value":676}," - MGET, MSET, batch operations",{"type":40,"tag":475,"props":678,"children":679},{},[680,685],{"type":40,"tag":438,"props":681,"children":682},{},[683],{"type":46,"value":684},"pipeline-optimization.md",{"type":46,"value":686}," - When to use pipelines, performance tips",{"type":40,"tag":475,"props":688,"children":689},{},[690,695],{"type":40,"tag":438,"props":691,"children":692},{},[693],{"type":46,"value":694},"ttl-expiration.md",{"type":46,"value":696}," - Key expiration strategies, memory management",{"type":40,"tag":475,"props":698,"children":699},{},[700,705],{"type":40,"tag":438,"props":701,"children":702},{},[703],{"type":46,"value":704},"data-serialization.md",{"type":46,"value":706}," - Deep dive into auto serialization, custom serializers, edge cases",{"type":40,"tag":475,"props":708,"children":709},{},[710,715],{"type":40,"tag":438,"props":711,"children":712},{},[713],{"type":46,"value":714},"error-handling.md",{"type":46,"value":716}," - Error types, retry strategies, timeout handling, debugging tips",{"type":40,"tag":475,"props":718,"children":719},{},[720,725],{"type":40,"tag":438,"props":721,"children":722},{},[723],{"type":46,"value":724},"redis-replicas.md",{"type":46,"value":726}," - Global database setup, read replicas, read-your-writes consistency",{"type":40,"tag":111,"props":728,"children":730},{"id":729},"search-search",[731],{"type":46,"value":732},"Search (search\u002F)",{"type":40,"tag":49,"props":734,"children":735},{},[736],{"type":46,"value":737},"Full-text search, filtering, and aggregation extension for Redis:",{"type":40,"tag":471,"props":739,"children":740},{},[741,751,761,771,781,791],{"type":40,"tag":475,"props":742,"children":743},{},[744,749],{"type":40,"tag":438,"props":745,"children":746},{},[747],{"type":46,"value":748},"overview.md",{"type":46,"value":750}," - Schema definition, field types, pitfalls, package overview",{"type":40,"tag":475,"props":752,"children":753},{},[754,759],{"type":40,"tag":438,"props":755,"children":756},{},[757],{"type":46,"value":758},"commands\u002Fquerying.md",{"type":46,"value":760}," - Query and count with filters, pagination, sorting, highlighting",{"type":40,"tag":475,"props":762,"children":763},{},[764,769],{"type":40,"tag":438,"props":765,"children":766},{},[767],{"type":46,"value":768},"commands\u002Faggregating.md",{"type":46,"value":770}," - Metric aggregations ($avg, $sum, $stats), bucket aggregations ($terms, $range, $histogram, $facet)",{"type":40,"tag":475,"props":772,"children":773},{},[774,779],{"type":40,"tag":438,"props":775,"children":776},{},[777],{"type":46,"value":778},"commands\u002Findex-management.md",{"type":46,"value":780}," - Create, describe, drop indexes, waitIndexing",{"type":40,"tag":475,"props":782,"children":783},{},[784,789],{"type":40,"tag":438,"props":785,"children":786},{},[787],{"type":46,"value":788},"commands\u002Faliases.md",{"type":46,"value":790}," - Index aliases for zero-downtime reindexing",{"type":40,"tag":475,"props":792,"children":793},{},[794,799],{"type":40,"tag":438,"props":795,"children":796},{},[797],{"type":46,"value":798},"adapters.md",{"type":46,"value":800}," - Using search with node-redis and ioredis via @upstash\u002Fsearch-redis and @upstash\u002Fsearch-ioredis",{"type":40,"tag":111,"props":802,"children":804},{"id":803},"migrations-migrations",[805],{"type":46,"value":806},"Migrations (migrations\u002F)",{"type":40,"tag":49,"props":808,"children":809},{},[810],{"type":46,"value":811},"Migration guides from other libraries:",{"type":40,"tag":471,"props":813,"children":814},{},[815,825],{"type":40,"tag":475,"props":816,"children":817},{},[818,823],{"type":40,"tag":438,"props":819,"children":820},{},[821],{"type":46,"value":822},"from-ioredis.md",{"type":46,"value":824}," - Migration from ioredis, key differences, serialization changes",{"type":40,"tag":475,"props":826,"children":827},{},[828,833],{"type":40,"tag":438,"props":829,"children":830},{},[831],{"type":46,"value":832},"from-redis-node.md",{"type":46,"value":834}," - Migration from node-redis, API differences",{"type":40,"tag":64,"props":836,"children":838},{"id":837},"common-mistakes-especially-for-llms",[839],{"type":46,"value":840},"Common Mistakes (Especially for LLMs)",{"type":40,"tag":111,"props":842,"children":844},{"id":843},"mistake-1-treating-everything-as-strings",[845],{"type":46,"value":846},"❌ Mistake 1: Treating Everything as Strings",{"type":40,"tag":71,"props":848,"children":850},{"className":119,"code":849,"language":121,"meta":76,"style":76},"\u002F\u002F ❌ WRONG - Don't do this with @upstash\u002Fredis\nawait redis.set(\"count\", \"42\"); \u002F\u002F Stored as string \"42\"\nconst count = await redis.get(\"count\");\nconst incremented = parseInt(count) + 1; \u002F\u002F Manual parsing needed\n\n\u002F\u002F ✅ CORRECT - Let the SDK handle it\nawait redis.set(\"count\", 42); \u002F\u002F Stored as number\nconst count = await redis.get(\"count\");\nconst incremented = count + 1; \u002F\u002F Just use it\n",[851],{"type":40,"tag":55,"props":852,"children":853},{"__ignoreMap":76},[854,862,933,991,1037,1044,1052,1109,1164],{"type":40,"tag":82,"props":855,"children":856},{"class":84,"line":85},[857],{"type":40,"tag":82,"props":858,"children":859},{"style":191},[860],{"type":46,"value":861},"\u002F\u002F ❌ WRONG - Don't do this with @upstash\u002Fredis\n",{"type":40,"tag":82,"props":863,"children":864},{"class":84,"line":27},[865,870,875,879,884,888,892,897,901,906,910,915,919,923,928],{"type":40,"tag":82,"props":866,"children":867},{"style":131},[868],{"type":46,"value":869},"await",{"type":40,"tag":82,"props":871,"children":872},{"style":143},[873],{"type":46,"value":874}," redis",{"type":40,"tag":82,"props":876,"children":877},{"style":137},[878],{"type":46,"value":357},{"type":40,"tag":82,"props":880,"children":881},{"style":222},[882],{"type":46,"value":883},"set",{"type":40,"tag":82,"props":885,"children":886},{"style":143},[887],{"type":46,"value":229},{"type":40,"tag":82,"props":889,"children":890},{"style":137},[891],{"type":46,"value":170},{"type":40,"tag":82,"props":893,"children":894},{"style":95},[895],{"type":46,"value":896},"count",{"type":40,"tag":82,"props":898,"children":899},{"style":137},[900],{"type":46,"value":170},{"type":40,"tag":82,"props":902,"children":903},{"style":137},[904],{"type":46,"value":905},",",{"type":40,"tag":82,"props":907,"children":908},{"style":137},[909],{"type":46,"value":161},{"type":40,"tag":82,"props":911,"children":912},{"style":95},[913],{"type":46,"value":914},"42",{"type":40,"tag":82,"props":916,"children":917},{"style":137},[918],{"type":46,"value":170},{"type":40,"tag":82,"props":920,"children":921},{"style":143},[922],{"type":46,"value":311},{"type":40,"tag":82,"props":924,"children":925},{"style":137},[926],{"type":46,"value":927},";",{"type":40,"tag":82,"props":929,"children":930},{"style":191},[931],{"type":46,"value":932}," \u002F\u002F Stored as string \"42\"\n",{"type":40,"tag":82,"props":934,"children":935},{"class":84,"line":187},[936,940,945,949,954,958,962,967,971,975,979,983,987],{"type":40,"tag":82,"props":937,"children":938},{"style":201},[939],{"type":46,"value":204},{"type":40,"tag":82,"props":941,"children":942},{"style":143},[943],{"type":46,"value":944}," count ",{"type":40,"tag":82,"props":946,"children":947},{"style":137},[948],{"type":46,"value":214},{"type":40,"tag":82,"props":950,"children":951},{"style":131},[952],{"type":46,"value":953}," await",{"type":40,"tag":82,"props":955,"children":956},{"style":143},[957],{"type":46,"value":874},{"type":40,"tag":82,"props":959,"children":960},{"style":137},[961],{"type":46,"value":357},{"type":40,"tag":82,"props":963,"children":964},{"style":222},[965],{"type":46,"value":966},"get",{"type":40,"tag":82,"props":968,"children":969},{"style":143},[970],{"type":46,"value":229},{"type":40,"tag":82,"props":972,"children":973},{"style":137},[974],{"type":46,"value":170},{"type":40,"tag":82,"props":976,"children":977},{"style":95},[978],{"type":46,"value":896},{"type":40,"tag":82,"props":980,"children":981},{"style":137},[982],{"type":46,"value":170},{"type":40,"tag":82,"props":984,"children":985},{"style":143},[986],{"type":46,"value":311},{"type":40,"tag":82,"props":988,"children":989},{"style":137},[990],{"type":46,"value":175},{"type":40,"tag":82,"props":992,"children":993},{"class":84,"line":197},[994,998,1003,1007,1012,1017,1022,1028,1032],{"type":40,"tag":82,"props":995,"children":996},{"style":201},[997],{"type":46,"value":204},{"type":40,"tag":82,"props":999,"children":1000},{"style":143},[1001],{"type":46,"value":1002}," incremented ",{"type":40,"tag":82,"props":1004,"children":1005},{"style":137},[1006],{"type":46,"value":214},{"type":40,"tag":82,"props":1008,"children":1009},{"style":222},[1010],{"type":46,"value":1011}," parseInt",{"type":40,"tag":82,"props":1013,"children":1014},{"style":143},[1015],{"type":46,"value":1016},"(count) ",{"type":40,"tag":82,"props":1018,"children":1019},{"style":137},[1020],{"type":46,"value":1021},"+",{"type":40,"tag":82,"props":1023,"children":1025},{"style":1024},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1026],{"type":46,"value":1027}," 1",{"type":40,"tag":82,"props":1029,"children":1030},{"style":137},[1031],{"type":46,"value":927},{"type":40,"tag":82,"props":1033,"children":1034},{"style":191},[1035],{"type":46,"value":1036}," \u002F\u002F Manual parsing needed\n",{"type":40,"tag":82,"props":1038,"children":1039},{"class":84,"line":237},[1040],{"type":40,"tag":82,"props":1041,"children":1042},{"emptyLinePlaceholder":181},[1043],{"type":46,"value":184},{"type":40,"tag":82,"props":1045,"children":1046},{"class":84,"line":270},[1047],{"type":40,"tag":82,"props":1048,"children":1049},{"style":191},[1050],{"type":46,"value":1051},"\u002F\u002F ✅ CORRECT - Let the SDK handle it\n",{"type":40,"tag":82,"props":1053,"children":1054},{"class":84,"line":300},[1055,1059,1063,1067,1071,1075,1079,1083,1087,1091,1096,1100,1104],{"type":40,"tag":82,"props":1056,"children":1057},{"style":131},[1058],{"type":46,"value":869},{"type":40,"tag":82,"props":1060,"children":1061},{"style":143},[1062],{"type":46,"value":874},{"type":40,"tag":82,"props":1064,"children":1065},{"style":137},[1066],{"type":46,"value":357},{"type":40,"tag":82,"props":1068,"children":1069},{"style":222},[1070],{"type":46,"value":883},{"type":40,"tag":82,"props":1072,"children":1073},{"style":143},[1074],{"type":46,"value":229},{"type":40,"tag":82,"props":1076,"children":1077},{"style":137},[1078],{"type":46,"value":170},{"type":40,"tag":82,"props":1080,"children":1081},{"style":95},[1082],{"type":46,"value":896},{"type":40,"tag":82,"props":1084,"children":1085},{"style":137},[1086],{"type":46,"value":170},{"type":40,"tag":82,"props":1088,"children":1089},{"style":137},[1090],{"type":46,"value":905},{"type":40,"tag":82,"props":1092,"children":1093},{"style":1024},[1094],{"type":46,"value":1095}," 42",{"type":40,"tag":82,"props":1097,"children":1098},{"style":143},[1099],{"type":46,"value":311},{"type":40,"tag":82,"props":1101,"children":1102},{"style":137},[1103],{"type":46,"value":927},{"type":40,"tag":82,"props":1105,"children":1106},{"style":191},[1107],{"type":46,"value":1108}," \u002F\u002F Stored as number\n",{"type":40,"tag":82,"props":1110,"children":1111},{"class":84,"line":318},[1112,1116,1120,1124,1128,1132,1136,1140,1144,1148,1152,1156,1160],{"type":40,"tag":82,"props":1113,"children":1114},{"style":201},[1115],{"type":46,"value":204},{"type":40,"tag":82,"props":1117,"children":1118},{"style":143},[1119],{"type":46,"value":944},{"type":40,"tag":82,"props":1121,"children":1122},{"style":137},[1123],{"type":46,"value":214},{"type":40,"tag":82,"props":1125,"children":1126},{"style":131},[1127],{"type":46,"value":953},{"type":40,"tag":82,"props":1129,"children":1130},{"style":143},[1131],{"type":46,"value":874},{"type":40,"tag":82,"props":1133,"children":1134},{"style":137},[1135],{"type":46,"value":357},{"type":40,"tag":82,"props":1137,"children":1138},{"style":222},[1139],{"type":46,"value":966},{"type":40,"tag":82,"props":1141,"children":1142},{"style":143},[1143],{"type":46,"value":229},{"type":40,"tag":82,"props":1145,"children":1146},{"style":137},[1147],{"type":46,"value":170},{"type":40,"tag":82,"props":1149,"children":1150},{"style":95},[1151],{"type":46,"value":896},{"type":40,"tag":82,"props":1153,"children":1154},{"style":137},[1155],{"type":46,"value":170},{"type":40,"tag":82,"props":1157,"children":1158},{"style":143},[1159],{"type":46,"value":311},{"type":40,"tag":82,"props":1161,"children":1162},{"style":137},[1163],{"type":46,"value":175},{"type":40,"tag":82,"props":1165,"children":1166},{"class":84,"line":326},[1167,1171,1175,1179,1183,1187,1191,1195],{"type":40,"tag":82,"props":1168,"children":1169},{"style":201},[1170],{"type":46,"value":204},{"type":40,"tag":82,"props":1172,"children":1173},{"style":143},[1174],{"type":46,"value":1002},{"type":40,"tag":82,"props":1176,"children":1177},{"style":137},[1178],{"type":46,"value":214},{"type":40,"tag":82,"props":1180,"children":1181},{"style":143},[1182],{"type":46,"value":944},{"type":40,"tag":82,"props":1184,"children":1185},{"style":137},[1186],{"type":46,"value":1021},{"type":40,"tag":82,"props":1188,"children":1189},{"style":1024},[1190],{"type":46,"value":1027},{"type":40,"tag":82,"props":1192,"children":1193},{"style":137},[1194],{"type":46,"value":927},{"type":40,"tag":82,"props":1196,"children":1197},{"style":191},[1198],{"type":46,"value":1199}," \u002F\u002F Just use it\n",{"type":40,"tag":111,"props":1201,"children":1203},{"id":1202},"mistake-2-manual-json-serialization",[1204],{"type":46,"value":1205},"❌ Mistake 2: Manual JSON Serialization",{"type":40,"tag":71,"props":1207,"children":1209},{"className":119,"code":1208,"language":121,"meta":76,"style":76},"\u002F\u002F ❌ WRONG - Unnecessary with @upstash\u002Fredis\nawait redis.set(\"user\", JSON.stringify({ name: \"Alice\" }));\nconst user = JSON.parse(await redis.get(\"user\"));\n\n\u002F\u002F ✅ CORRECT - Automatic handling\nawait redis.set(\"user\", { name: \"Alice\" });\nconst user = await redis.get(\"user\");\n",[1210],{"type":40,"tag":55,"props":1211,"children":1212},{"__ignoreMap":76},[1213,1221,1319,1392,1399,1407,1482],{"type":40,"tag":82,"props":1214,"children":1215},{"class":84,"line":85},[1216],{"type":40,"tag":82,"props":1217,"children":1218},{"style":191},[1219],{"type":46,"value":1220},"\u002F\u002F ❌ WRONG - Unnecessary with @upstash\u002Fredis\n",{"type":40,"tag":82,"props":1222,"children":1223},{"class":84,"line":27},[1224,1228,1232,1236,1240,1244,1248,1253,1257,1261,1266,1270,1275,1279,1284,1289,1293,1297,1302,1306,1310,1315],{"type":40,"tag":82,"props":1225,"children":1226},{"style":131},[1227],{"type":46,"value":869},{"type":40,"tag":82,"props":1229,"children":1230},{"style":143},[1231],{"type":46,"value":874},{"type":40,"tag":82,"props":1233,"children":1234},{"style":137},[1235],{"type":46,"value":357},{"type":40,"tag":82,"props":1237,"children":1238},{"style":222},[1239],{"type":46,"value":883},{"type":40,"tag":82,"props":1241,"children":1242},{"style":143},[1243],{"type":46,"value":229},{"type":40,"tag":82,"props":1245,"children":1246},{"style":137},[1247],{"type":46,"value":170},{"type":40,"tag":82,"props":1249,"children":1250},{"style":95},[1251],{"type":46,"value":1252},"user",{"type":40,"tag":82,"props":1254,"children":1255},{"style":137},[1256],{"type":46,"value":170},{"type":40,"tag":82,"props":1258,"children":1259},{"style":137},[1260],{"type":46,"value":905},{"type":40,"tag":82,"props":1262,"children":1263},{"style":143},[1264],{"type":46,"value":1265}," JSON",{"type":40,"tag":82,"props":1267,"children":1268},{"style":137},[1269],{"type":46,"value":357},{"type":40,"tag":82,"props":1271,"children":1272},{"style":222},[1273],{"type":46,"value":1274},"stringify",{"type":40,"tag":82,"props":1276,"children":1277},{"style":143},[1278],{"type":46,"value":229},{"type":40,"tag":82,"props":1280,"children":1281},{"style":137},[1282],{"type":46,"value":1283},"{",{"type":40,"tag":82,"props":1285,"children":1286},{"style":241},[1287],{"type":46,"value":1288}," name",{"type":40,"tag":82,"props":1290,"children":1291},{"style":137},[1292],{"type":46,"value":249},{"type":40,"tag":82,"props":1294,"children":1295},{"style":137},[1296],{"type":46,"value":161},{"type":40,"tag":82,"props":1298,"children":1299},{"style":95},[1300],{"type":46,"value":1301},"Alice",{"type":40,"tag":82,"props":1303,"children":1304},{"style":137},[1305],{"type":46,"value":170},{"type":40,"tag":82,"props":1307,"children":1308},{"style":137},[1309],{"type":46,"value":151},{"type":40,"tag":82,"props":1311,"children":1312},{"style":143},[1313],{"type":46,"value":1314},"))",{"type":40,"tag":82,"props":1316,"children":1317},{"style":137},[1318],{"type":46,"value":175},{"type":40,"tag":82,"props":1320,"children":1321},{"class":84,"line":187},[1322,1326,1331,1335,1339,1343,1348,1352,1356,1360,1364,1368,1372,1376,1380,1384,1388],{"type":40,"tag":82,"props":1323,"children":1324},{"style":201},[1325],{"type":46,"value":204},{"type":40,"tag":82,"props":1327,"children":1328},{"style":143},[1329],{"type":46,"value":1330}," user ",{"type":40,"tag":82,"props":1332,"children":1333},{"style":137},[1334],{"type":46,"value":214},{"type":40,"tag":82,"props":1336,"children":1337},{"style":143},[1338],{"type":46,"value":1265},{"type":40,"tag":82,"props":1340,"children":1341},{"style":137},[1342],{"type":46,"value":357},{"type":40,"tag":82,"props":1344,"children":1345},{"style":222},[1346],{"type":46,"value":1347},"parse",{"type":40,"tag":82,"props":1349,"children":1350},{"style":143},[1351],{"type":46,"value":229},{"type":40,"tag":82,"props":1353,"children":1354},{"style":131},[1355],{"type":46,"value":869},{"type":40,"tag":82,"props":1357,"children":1358},{"style":143},[1359],{"type":46,"value":874},{"type":40,"tag":82,"props":1361,"children":1362},{"style":137},[1363],{"type":46,"value":357},{"type":40,"tag":82,"props":1365,"children":1366},{"style":222},[1367],{"type":46,"value":966},{"type":40,"tag":82,"props":1369,"children":1370},{"style":143},[1371],{"type":46,"value":229},{"type":40,"tag":82,"props":1373,"children":1374},{"style":137},[1375],{"type":46,"value":170},{"type":40,"tag":82,"props":1377,"children":1378},{"style":95},[1379],{"type":46,"value":1252},{"type":40,"tag":82,"props":1381,"children":1382},{"style":137},[1383],{"type":46,"value":170},{"type":40,"tag":82,"props":1385,"children":1386},{"style":143},[1387],{"type":46,"value":1314},{"type":40,"tag":82,"props":1389,"children":1390},{"style":137},[1391],{"type":46,"value":175},{"type":40,"tag":82,"props":1393,"children":1394},{"class":84,"line":197},[1395],{"type":40,"tag":82,"props":1396,"children":1397},{"emptyLinePlaceholder":181},[1398],{"type":46,"value":184},{"type":40,"tag":82,"props":1400,"children":1401},{"class":84,"line":237},[1402],{"type":40,"tag":82,"props":1403,"children":1404},{"style":191},[1405],{"type":46,"value":1406},"\u002F\u002F ✅ CORRECT - Automatic handling\n",{"type":40,"tag":82,"props":1408,"children":1409},{"class":84,"line":270},[1410,1414,1418,1422,1426,1430,1434,1438,1442,1446,1450,1454,1458,1462,1466,1470,1474,1478],{"type":40,"tag":82,"props":1411,"children":1412},{"style":131},[1413],{"type":46,"value":869},{"type":40,"tag":82,"props":1415,"children":1416},{"style":143},[1417],{"type":46,"value":874},{"type":40,"tag":82,"props":1419,"children":1420},{"style":137},[1421],{"type":46,"value":357},{"type":40,"tag":82,"props":1423,"children":1424},{"style":222},[1425],{"type":46,"value":883},{"type":40,"tag":82,"props":1427,"children":1428},{"style":143},[1429],{"type":46,"value":229},{"type":40,"tag":82,"props":1431,"children":1432},{"style":137},[1433],{"type":46,"value":170},{"type":40,"tag":82,"props":1435,"children":1436},{"style":95},[1437],{"type":46,"value":1252},{"type":40,"tag":82,"props":1439,"children":1440},{"style":137},[1441],{"type":46,"value":170},{"type":40,"tag":82,"props":1443,"children":1444},{"style":137},[1445],{"type":46,"value":905},{"type":40,"tag":82,"props":1447,"children":1448},{"style":137},[1449],{"type":46,"value":140},{"type":40,"tag":82,"props":1451,"children":1452},{"style":241},[1453],{"type":46,"value":1288},{"type":40,"tag":82,"props":1455,"children":1456},{"style":137},[1457],{"type":46,"value":249},{"type":40,"tag":82,"props":1459,"children":1460},{"style":137},[1461],{"type":46,"value":161},{"type":40,"tag":82,"props":1463,"children":1464},{"style":95},[1465],{"type":46,"value":1301},{"type":40,"tag":82,"props":1467,"children":1468},{"style":137},[1469],{"type":46,"value":170},{"type":40,"tag":82,"props":1471,"children":1472},{"style":137},[1473],{"type":46,"value":151},{"type":40,"tag":82,"props":1475,"children":1476},{"style":143},[1477],{"type":46,"value":311},{"type":40,"tag":82,"props":1479,"children":1480},{"style":137},[1481],{"type":46,"value":175},{"type":40,"tag":82,"props":1483,"children":1484},{"class":84,"line":300},[1485,1489,1493,1497,1501,1505,1509,1513,1517,1521,1525,1529,1533],{"type":40,"tag":82,"props":1486,"children":1487},{"style":201},[1488],{"type":46,"value":204},{"type":40,"tag":82,"props":1490,"children":1491},{"style":143},[1492],{"type":46,"value":1330},{"type":40,"tag":82,"props":1494,"children":1495},{"style":137},[1496],{"type":46,"value":214},{"type":40,"tag":82,"props":1498,"children":1499},{"style":131},[1500],{"type":46,"value":953},{"type":40,"tag":82,"props":1502,"children":1503},{"style":143},[1504],{"type":46,"value":874},{"type":40,"tag":82,"props":1506,"children":1507},{"style":137},[1508],{"type":46,"value":357},{"type":40,"tag":82,"props":1510,"children":1511},{"style":222},[1512],{"type":46,"value":966},{"type":40,"tag":82,"props":1514,"children":1515},{"style":143},[1516],{"type":46,"value":229},{"type":40,"tag":82,"props":1518,"children":1519},{"style":137},[1520],{"type":46,"value":170},{"type":40,"tag":82,"props":1522,"children":1523},{"style":95},[1524],{"type":46,"value":1252},{"type":40,"tag":82,"props":1526,"children":1527},{"style":137},[1528],{"type":46,"value":170},{"type":40,"tag":82,"props":1530,"children":1531},{"style":143},[1532],{"type":46,"value":311},{"type":40,"tag":82,"props":1534,"children":1535},{"style":137},[1536],{"type":46,"value":175},{"type":40,"tag":64,"props":1538,"children":1540},{"id":1539},"quick-command-reference",[1541],{"type":46,"value":1542},"Quick Command Reference",{"type":40,"tag":71,"props":1544,"children":1546},{"className":119,"code":1545,"language":121,"meta":76,"style":76},"\u002F\u002F Strings\nawait redis.set(\"key\", \"value\");\nawait redis.get(\"key\");\nawait redis.incr(\"counter\");\nawait redis.decr(\"counter\");\n\n\u002F\u002F Hashes\nawait redis.hset(\"user:1\", { name: \"Alice\", age: 30 });\nawait redis.hget(\"user:1\", \"name\");\nawait redis.hgetall(\"user:1\");\n\n\u002F\u002F Lists\nawait redis.lpush(\"tasks\", \"task1\", \"task2\");\nawait redis.rpush(\"tasks\", \"task3\");\nawait redis.lrange(\"tasks\", 0, -1);\n\n\u002F\u002F Sets\nawait redis.sadd(\"tags\", \"javascript\", \"redis\");\nawait redis.smembers(\"tags\");\n\n\u002F\u002F Sorted Sets\nawait redis.zadd(\"leaderboard\", { score: 100, member: \"player1\" });\nawait redis.zrange(\"leaderboard\", 0, -1);\n\n\u002F\u002F JSON\nawait redis.json.set(\"user:1\", \"$\", { name: \"Alice\", address: { city: \"NYC\" } });\nawait redis.json.get(\"user:1\");\n\n\u002F\u002F Expiration\nawait redis.setex(\"session\", 3600, { userId: \"123\" });\nawait redis.expire(\"key\", 60);\nawait redis.ttl(\"key\");\n",[1547],{"type":40,"tag":55,"props":1548,"children":1549},{"__ignoreMap":76},[1550,1558,1619,1662,1707,1751,1758,1766,1861,1922,1966,1974,1983,2063,2125,2192,2200,2209,2288,2333,2341,2350,2448,2513,2521,2530,2675,2727,2735,2744,2833,2887],{"type":40,"tag":82,"props":1551,"children":1552},{"class":84,"line":85},[1553],{"type":40,"tag":82,"props":1554,"children":1555},{"style":191},[1556],{"type":46,"value":1557},"\u002F\u002F Strings\n",{"type":40,"tag":82,"props":1559,"children":1560},{"class":84,"line":27},[1561,1565,1569,1573,1577,1581,1585,1590,1594,1598,1602,1607,1611,1615],{"type":40,"tag":82,"props":1562,"children":1563},{"style":131},[1564],{"type":46,"value":869},{"type":40,"tag":82,"props":1566,"children":1567},{"style":143},[1568],{"type":46,"value":874},{"type":40,"tag":82,"props":1570,"children":1571},{"style":137},[1572],{"type":46,"value":357},{"type":40,"tag":82,"props":1574,"children":1575},{"style":222},[1576],{"type":46,"value":883},{"type":40,"tag":82,"props":1578,"children":1579},{"style":143},[1580],{"type":46,"value":229},{"type":40,"tag":82,"props":1582,"children":1583},{"style":137},[1584],{"type":46,"value":170},{"type":40,"tag":82,"props":1586,"children":1587},{"style":95},[1588],{"type":46,"value":1589},"key",{"type":40,"tag":82,"props":1591,"children":1592},{"style":137},[1593],{"type":46,"value":170},{"type":40,"tag":82,"props":1595,"children":1596},{"style":137},[1597],{"type":46,"value":905},{"type":40,"tag":82,"props":1599,"children":1600},{"style":137},[1601],{"type":46,"value":161},{"type":40,"tag":82,"props":1603,"children":1604},{"style":95},[1605],{"type":46,"value":1606},"value",{"type":40,"tag":82,"props":1608,"children":1609},{"style":137},[1610],{"type":46,"value":170},{"type":40,"tag":82,"props":1612,"children":1613},{"style":143},[1614],{"type":46,"value":311},{"type":40,"tag":82,"props":1616,"children":1617},{"style":137},[1618],{"type":46,"value":175},{"type":40,"tag":82,"props":1620,"children":1621},{"class":84,"line":187},[1622,1626,1630,1634,1638,1642,1646,1650,1654,1658],{"type":40,"tag":82,"props":1623,"children":1624},{"style":131},[1625],{"type":46,"value":869},{"type":40,"tag":82,"props":1627,"children":1628},{"style":143},[1629],{"type":46,"value":874},{"type":40,"tag":82,"props":1631,"children":1632},{"style":137},[1633],{"type":46,"value":357},{"type":40,"tag":82,"props":1635,"children":1636},{"style":222},[1637],{"type":46,"value":966},{"type":40,"tag":82,"props":1639,"children":1640},{"style":143},[1641],{"type":46,"value":229},{"type":40,"tag":82,"props":1643,"children":1644},{"style":137},[1645],{"type":46,"value":170},{"type":40,"tag":82,"props":1647,"children":1648},{"style":95},[1649],{"type":46,"value":1589},{"type":40,"tag":82,"props":1651,"children":1652},{"style":137},[1653],{"type":46,"value":170},{"type":40,"tag":82,"props":1655,"children":1656},{"style":143},[1657],{"type":46,"value":311},{"type":40,"tag":82,"props":1659,"children":1660},{"style":137},[1661],{"type":46,"value":175},{"type":40,"tag":82,"props":1663,"children":1664},{"class":84,"line":197},[1665,1669,1673,1677,1682,1686,1690,1695,1699,1703],{"type":40,"tag":82,"props":1666,"children":1667},{"style":131},[1668],{"type":46,"value":869},{"type":40,"tag":82,"props":1670,"children":1671},{"style":143},[1672],{"type":46,"value":874},{"type":40,"tag":82,"props":1674,"children":1675},{"style":137},[1676],{"type":46,"value":357},{"type":40,"tag":82,"props":1678,"children":1679},{"style":222},[1680],{"type":46,"value":1681},"incr",{"type":40,"tag":82,"props":1683,"children":1684},{"style":143},[1685],{"type":46,"value":229},{"type":40,"tag":82,"props":1687,"children":1688},{"style":137},[1689],{"type":46,"value":170},{"type":40,"tag":82,"props":1691,"children":1692},{"style":95},[1693],{"type":46,"value":1694},"counter",{"type":40,"tag":82,"props":1696,"children":1697},{"style":137},[1698],{"type":46,"value":170},{"type":40,"tag":82,"props":1700,"children":1701},{"style":143},[1702],{"type":46,"value":311},{"type":40,"tag":82,"props":1704,"children":1705},{"style":137},[1706],{"type":46,"value":175},{"type":40,"tag":82,"props":1708,"children":1709},{"class":84,"line":237},[1710,1714,1718,1722,1727,1731,1735,1739,1743,1747],{"type":40,"tag":82,"props":1711,"children":1712},{"style":131},[1713],{"type":46,"value":869},{"type":40,"tag":82,"props":1715,"children":1716},{"style":143},[1717],{"type":46,"value":874},{"type":40,"tag":82,"props":1719,"children":1720},{"style":137},[1721],{"type":46,"value":357},{"type":40,"tag":82,"props":1723,"children":1724},{"style":222},[1725],{"type":46,"value":1726},"decr",{"type":40,"tag":82,"props":1728,"children":1729},{"style":143},[1730],{"type":46,"value":229},{"type":40,"tag":82,"props":1732,"children":1733},{"style":137},[1734],{"type":46,"value":170},{"type":40,"tag":82,"props":1736,"children":1737},{"style":95},[1738],{"type":46,"value":1694},{"type":40,"tag":82,"props":1740,"children":1741},{"style":137},[1742],{"type":46,"value":170},{"type":40,"tag":82,"props":1744,"children":1745},{"style":143},[1746],{"type":46,"value":311},{"type":40,"tag":82,"props":1748,"children":1749},{"style":137},[1750],{"type":46,"value":175},{"type":40,"tag":82,"props":1752,"children":1753},{"class":84,"line":270},[1754],{"type":40,"tag":82,"props":1755,"children":1756},{"emptyLinePlaceholder":181},[1757],{"type":46,"value":184},{"type":40,"tag":82,"props":1759,"children":1760},{"class":84,"line":300},[1761],{"type":40,"tag":82,"props":1762,"children":1763},{"style":191},[1764],{"type":46,"value":1765},"\u002F\u002F Hashes\n",{"type":40,"tag":82,"props":1767,"children":1768},{"class":84,"line":318},[1769,1773,1777,1781,1786,1790,1794,1799,1803,1807,1811,1815,1819,1823,1827,1831,1835,1840,1844,1849,1853,1857],{"type":40,"tag":82,"props":1770,"children":1771},{"style":131},[1772],{"type":46,"value":869},{"type":40,"tag":82,"props":1774,"children":1775},{"style":143},[1776],{"type":46,"value":874},{"type":40,"tag":82,"props":1778,"children":1779},{"style":137},[1780],{"type":46,"value":357},{"type":40,"tag":82,"props":1782,"children":1783},{"style":222},[1784],{"type":46,"value":1785},"hset",{"type":40,"tag":82,"props":1787,"children":1788},{"style":143},[1789],{"type":46,"value":229},{"type":40,"tag":82,"props":1791,"children":1792},{"style":137},[1793],{"type":46,"value":170},{"type":40,"tag":82,"props":1795,"children":1796},{"style":95},[1797],{"type":46,"value":1798},"user:1",{"type":40,"tag":82,"props":1800,"children":1801},{"style":137},[1802],{"type":46,"value":170},{"type":40,"tag":82,"props":1804,"children":1805},{"style":137},[1806],{"type":46,"value":905},{"type":40,"tag":82,"props":1808,"children":1809},{"style":137},[1810],{"type":46,"value":140},{"type":40,"tag":82,"props":1812,"children":1813},{"style":241},[1814],{"type":46,"value":1288},{"type":40,"tag":82,"props":1816,"children":1817},{"style":137},[1818],{"type":46,"value":249},{"type":40,"tag":82,"props":1820,"children":1821},{"style":137},[1822],{"type":46,"value":161},{"type":40,"tag":82,"props":1824,"children":1825},{"style":95},[1826],{"type":46,"value":1301},{"type":40,"tag":82,"props":1828,"children":1829},{"style":137},[1830],{"type":46,"value":170},{"type":40,"tag":82,"props":1832,"children":1833},{"style":137},[1834],{"type":46,"value":905},{"type":40,"tag":82,"props":1836,"children":1837},{"style":241},[1838],{"type":46,"value":1839}," age",{"type":40,"tag":82,"props":1841,"children":1842},{"style":137},[1843],{"type":46,"value":249},{"type":40,"tag":82,"props":1845,"children":1846},{"style":1024},[1847],{"type":46,"value":1848}," 30",{"type":40,"tag":82,"props":1850,"children":1851},{"style":137},[1852],{"type":46,"value":151},{"type":40,"tag":82,"props":1854,"children":1855},{"style":143},[1856],{"type":46,"value":311},{"type":40,"tag":82,"props":1858,"children":1859},{"style":137},[1860],{"type":46,"value":175},{"type":40,"tag":82,"props":1862,"children":1863},{"class":84,"line":326},[1864,1868,1872,1876,1881,1885,1889,1893,1897,1901,1905,1910,1914,1918],{"type":40,"tag":82,"props":1865,"children":1866},{"style":131},[1867],{"type":46,"value":869},{"type":40,"tag":82,"props":1869,"children":1870},{"style":143},[1871],{"type":46,"value":874},{"type":40,"tag":82,"props":1873,"children":1874},{"style":137},[1875],{"type":46,"value":357},{"type":40,"tag":82,"props":1877,"children":1878},{"style":222},[1879],{"type":46,"value":1880},"hget",{"type":40,"tag":82,"props":1882,"children":1883},{"style":143},[1884],{"type":46,"value":229},{"type":40,"tag":82,"props":1886,"children":1887},{"style":137},[1888],{"type":46,"value":170},{"type":40,"tag":82,"props":1890,"children":1891},{"style":95},[1892],{"type":46,"value":1798},{"type":40,"tag":82,"props":1894,"children":1895},{"style":137},[1896],{"type":46,"value":170},{"type":40,"tag":82,"props":1898,"children":1899},{"style":137},[1900],{"type":46,"value":905},{"type":40,"tag":82,"props":1902,"children":1903},{"style":137},[1904],{"type":46,"value":161},{"type":40,"tag":82,"props":1906,"children":1907},{"style":95},[1908],{"type":46,"value":1909},"name",{"type":40,"tag":82,"props":1911,"children":1912},{"style":137},[1913],{"type":46,"value":170},{"type":40,"tag":82,"props":1915,"children":1916},{"style":143},[1917],{"type":46,"value":311},{"type":40,"tag":82,"props":1919,"children":1920},{"style":137},[1921],{"type":46,"value":175},{"type":40,"tag":82,"props":1923,"children":1924},{"class":84,"line":335},[1925,1929,1933,1937,1942,1946,1950,1954,1958,1962],{"type":40,"tag":82,"props":1926,"children":1927},{"style":131},[1928],{"type":46,"value":869},{"type":40,"tag":82,"props":1930,"children":1931},{"style":143},[1932],{"type":46,"value":874},{"type":40,"tag":82,"props":1934,"children":1935},{"style":137},[1936],{"type":46,"value":357},{"type":40,"tag":82,"props":1938,"children":1939},{"style":222},[1940],{"type":46,"value":1941},"hgetall",{"type":40,"tag":82,"props":1943,"children":1944},{"style":143},[1945],{"type":46,"value":229},{"type":40,"tag":82,"props":1947,"children":1948},{"style":137},[1949],{"type":46,"value":170},{"type":40,"tag":82,"props":1951,"children":1952},{"style":95},[1953],{"type":46,"value":1798},{"type":40,"tag":82,"props":1955,"children":1956},{"style":137},[1957],{"type":46,"value":170},{"type":40,"tag":82,"props":1959,"children":1960},{"style":143},[1961],{"type":46,"value":311},{"type":40,"tag":82,"props":1963,"children":1964},{"style":137},[1965],{"type":46,"value":175},{"type":40,"tag":82,"props":1967,"children":1969},{"class":84,"line":1968},11,[1970],{"type":40,"tag":82,"props":1971,"children":1972},{"emptyLinePlaceholder":181},[1973],{"type":46,"value":184},{"type":40,"tag":82,"props":1975,"children":1977},{"class":84,"line":1976},12,[1978],{"type":40,"tag":82,"props":1979,"children":1980},{"style":191},[1981],{"type":46,"value":1982},"\u002F\u002F Lists\n",{"type":40,"tag":82,"props":1984,"children":1986},{"class":84,"line":1985},13,[1987,1991,1995,1999,2004,2008,2012,2017,2021,2025,2029,2034,2038,2042,2046,2051,2055,2059],{"type":40,"tag":82,"props":1988,"children":1989},{"style":131},[1990],{"type":46,"value":869},{"type":40,"tag":82,"props":1992,"children":1993},{"style":143},[1994],{"type":46,"value":874},{"type":40,"tag":82,"props":1996,"children":1997},{"style":137},[1998],{"type":46,"value":357},{"type":40,"tag":82,"props":2000,"children":2001},{"style":222},[2002],{"type":46,"value":2003},"lpush",{"type":40,"tag":82,"props":2005,"children":2006},{"style":143},[2007],{"type":46,"value":229},{"type":40,"tag":82,"props":2009,"children":2010},{"style":137},[2011],{"type":46,"value":170},{"type":40,"tag":82,"props":2013,"children":2014},{"style":95},[2015],{"type":46,"value":2016},"tasks",{"type":40,"tag":82,"props":2018,"children":2019},{"style":137},[2020],{"type":46,"value":170},{"type":40,"tag":82,"props":2022,"children":2023},{"style":137},[2024],{"type":46,"value":905},{"type":40,"tag":82,"props":2026,"children":2027},{"style":137},[2028],{"type":46,"value":161},{"type":40,"tag":82,"props":2030,"children":2031},{"style":95},[2032],{"type":46,"value":2033},"task1",{"type":40,"tag":82,"props":2035,"children":2036},{"style":137},[2037],{"type":46,"value":170},{"type":40,"tag":82,"props":2039,"children":2040},{"style":137},[2041],{"type":46,"value":905},{"type":40,"tag":82,"props":2043,"children":2044},{"style":137},[2045],{"type":46,"value":161},{"type":40,"tag":82,"props":2047,"children":2048},{"style":95},[2049],{"type":46,"value":2050},"task2",{"type":40,"tag":82,"props":2052,"children":2053},{"style":137},[2054],{"type":46,"value":170},{"type":40,"tag":82,"props":2056,"children":2057},{"style":143},[2058],{"type":46,"value":311},{"type":40,"tag":82,"props":2060,"children":2061},{"style":137},[2062],{"type":46,"value":175},{"type":40,"tag":82,"props":2064,"children":2066},{"class":84,"line":2065},14,[2067,2071,2075,2079,2084,2088,2092,2096,2100,2104,2108,2113,2117,2121],{"type":40,"tag":82,"props":2068,"children":2069},{"style":131},[2070],{"type":46,"value":869},{"type":40,"tag":82,"props":2072,"children":2073},{"style":143},[2074],{"type":46,"value":874},{"type":40,"tag":82,"props":2076,"children":2077},{"style":137},[2078],{"type":46,"value":357},{"type":40,"tag":82,"props":2080,"children":2081},{"style":222},[2082],{"type":46,"value":2083},"rpush",{"type":40,"tag":82,"props":2085,"children":2086},{"style":143},[2087],{"type":46,"value":229},{"type":40,"tag":82,"props":2089,"children":2090},{"style":137},[2091],{"type":46,"value":170},{"type":40,"tag":82,"props":2093,"children":2094},{"style":95},[2095],{"type":46,"value":2016},{"type":40,"tag":82,"props":2097,"children":2098},{"style":137},[2099],{"type":46,"value":170},{"type":40,"tag":82,"props":2101,"children":2102},{"style":137},[2103],{"type":46,"value":905},{"type":40,"tag":82,"props":2105,"children":2106},{"style":137},[2107],{"type":46,"value":161},{"type":40,"tag":82,"props":2109,"children":2110},{"style":95},[2111],{"type":46,"value":2112},"task3",{"type":40,"tag":82,"props":2114,"children":2115},{"style":137},[2116],{"type":46,"value":170},{"type":40,"tag":82,"props":2118,"children":2119},{"style":143},[2120],{"type":46,"value":311},{"type":40,"tag":82,"props":2122,"children":2123},{"style":137},[2124],{"type":46,"value":175},{"type":40,"tag":82,"props":2126,"children":2127},{"class":84,"line":23},[2128,2132,2136,2140,2145,2149,2153,2157,2161,2165,2170,2174,2179,2184,2188],{"type":40,"tag":82,"props":2129,"children":2130},{"style":131},[2131],{"type":46,"value":869},{"type":40,"tag":82,"props":2133,"children":2134},{"style":143},[2135],{"type":46,"value":874},{"type":40,"tag":82,"props":2137,"children":2138},{"style":137},[2139],{"type":46,"value":357},{"type":40,"tag":82,"props":2141,"children":2142},{"style":222},[2143],{"type":46,"value":2144},"lrange",{"type":40,"tag":82,"props":2146,"children":2147},{"style":143},[2148],{"type":46,"value":229},{"type":40,"tag":82,"props":2150,"children":2151},{"style":137},[2152],{"type":46,"value":170},{"type":40,"tag":82,"props":2154,"children":2155},{"style":95},[2156],{"type":46,"value":2016},{"type":40,"tag":82,"props":2158,"children":2159},{"style":137},[2160],{"type":46,"value":170},{"type":40,"tag":82,"props":2162,"children":2163},{"style":137},[2164],{"type":46,"value":905},{"type":40,"tag":82,"props":2166,"children":2167},{"style":1024},[2168],{"type":46,"value":2169}," 0",{"type":40,"tag":82,"props":2171,"children":2172},{"style":137},[2173],{"type":46,"value":905},{"type":40,"tag":82,"props":2175,"children":2176},{"style":137},[2177],{"type":46,"value":2178}," -",{"type":40,"tag":82,"props":2180,"children":2181},{"style":1024},[2182],{"type":46,"value":2183},"1",{"type":40,"tag":82,"props":2185,"children":2186},{"style":143},[2187],{"type":46,"value":311},{"type":40,"tag":82,"props":2189,"children":2190},{"style":137},[2191],{"type":46,"value":175},{"type":40,"tag":82,"props":2193,"children":2195},{"class":84,"line":2194},16,[2196],{"type":40,"tag":82,"props":2197,"children":2198},{"emptyLinePlaceholder":181},[2199],{"type":46,"value":184},{"type":40,"tag":82,"props":2201,"children":2203},{"class":84,"line":2202},17,[2204],{"type":40,"tag":82,"props":2205,"children":2206},{"style":191},[2207],{"type":46,"value":2208},"\u002F\u002F Sets\n",{"type":40,"tag":82,"props":2210,"children":2212},{"class":84,"line":2211},18,[2213,2217,2221,2225,2230,2234,2238,2243,2247,2251,2255,2260,2264,2268,2272,2276,2280,2284],{"type":40,"tag":82,"props":2214,"children":2215},{"style":131},[2216],{"type":46,"value":869},{"type":40,"tag":82,"props":2218,"children":2219},{"style":143},[2220],{"type":46,"value":874},{"type":40,"tag":82,"props":2222,"children":2223},{"style":137},[2224],{"type":46,"value":357},{"type":40,"tag":82,"props":2226,"children":2227},{"style":222},[2228],{"type":46,"value":2229},"sadd",{"type":40,"tag":82,"props":2231,"children":2232},{"style":143},[2233],{"type":46,"value":229},{"type":40,"tag":82,"props":2235,"children":2236},{"style":137},[2237],{"type":46,"value":170},{"type":40,"tag":82,"props":2239,"children":2240},{"style":95},[2241],{"type":46,"value":2242},"tags",{"type":40,"tag":82,"props":2244,"children":2245},{"style":137},[2246],{"type":46,"value":170},{"type":40,"tag":82,"props":2248,"children":2249},{"style":137},[2250],{"type":46,"value":905},{"type":40,"tag":82,"props":2252,"children":2253},{"style":137},[2254],{"type":46,"value":161},{"type":40,"tag":82,"props":2256,"children":2257},{"style":95},[2258],{"type":46,"value":2259},"javascript",{"type":40,"tag":82,"props":2261,"children":2262},{"style":137},[2263],{"type":46,"value":170},{"type":40,"tag":82,"props":2265,"children":2266},{"style":137},[2267],{"type":46,"value":905},{"type":40,"tag":82,"props":2269,"children":2270},{"style":137},[2271],{"type":46,"value":161},{"type":40,"tag":82,"props":2273,"children":2274},{"style":95},[2275],{"type":46,"value":18},{"type":40,"tag":82,"props":2277,"children":2278},{"style":137},[2279],{"type":46,"value":170},{"type":40,"tag":82,"props":2281,"children":2282},{"style":143},[2283],{"type":46,"value":311},{"type":40,"tag":82,"props":2285,"children":2286},{"style":137},[2287],{"type":46,"value":175},{"type":40,"tag":82,"props":2289,"children":2291},{"class":84,"line":2290},19,[2292,2296,2300,2304,2309,2313,2317,2321,2325,2329],{"type":40,"tag":82,"props":2293,"children":2294},{"style":131},[2295],{"type":46,"value":869},{"type":40,"tag":82,"props":2297,"children":2298},{"style":143},[2299],{"type":46,"value":874},{"type":40,"tag":82,"props":2301,"children":2302},{"style":137},[2303],{"type":46,"value":357},{"type":40,"tag":82,"props":2305,"children":2306},{"style":222},[2307],{"type":46,"value":2308},"smembers",{"type":40,"tag":82,"props":2310,"children":2311},{"style":143},[2312],{"type":46,"value":229},{"type":40,"tag":82,"props":2314,"children":2315},{"style":137},[2316],{"type":46,"value":170},{"type":40,"tag":82,"props":2318,"children":2319},{"style":95},[2320],{"type":46,"value":2242},{"type":40,"tag":82,"props":2322,"children":2323},{"style":137},[2324],{"type":46,"value":170},{"type":40,"tag":82,"props":2326,"children":2327},{"style":143},[2328],{"type":46,"value":311},{"type":40,"tag":82,"props":2330,"children":2331},{"style":137},[2332],{"type":46,"value":175},{"type":40,"tag":82,"props":2334,"children":2336},{"class":84,"line":2335},20,[2337],{"type":40,"tag":82,"props":2338,"children":2339},{"emptyLinePlaceholder":181},[2340],{"type":46,"value":184},{"type":40,"tag":82,"props":2342,"children":2344},{"class":84,"line":2343},21,[2345],{"type":40,"tag":82,"props":2346,"children":2347},{"style":191},[2348],{"type":46,"value":2349},"\u002F\u002F Sorted Sets\n",{"type":40,"tag":82,"props":2351,"children":2353},{"class":84,"line":2352},22,[2354,2358,2362,2366,2371,2375,2379,2384,2388,2392,2396,2401,2405,2410,2414,2419,2423,2427,2432,2436,2440,2444],{"type":40,"tag":82,"props":2355,"children":2356},{"style":131},[2357],{"type":46,"value":869},{"type":40,"tag":82,"props":2359,"children":2360},{"style":143},[2361],{"type":46,"value":874},{"type":40,"tag":82,"props":2363,"children":2364},{"style":137},[2365],{"type":46,"value":357},{"type":40,"tag":82,"props":2367,"children":2368},{"style":222},[2369],{"type":46,"value":2370},"zadd",{"type":40,"tag":82,"props":2372,"children":2373},{"style":143},[2374],{"type":46,"value":229},{"type":40,"tag":82,"props":2376,"children":2377},{"style":137},[2378],{"type":46,"value":170},{"type":40,"tag":82,"props":2380,"children":2381},{"style":95},[2382],{"type":46,"value":2383},"leaderboard",{"type":40,"tag":82,"props":2385,"children":2386},{"style":137},[2387],{"type":46,"value":170},{"type":40,"tag":82,"props":2389,"children":2390},{"style":137},[2391],{"type":46,"value":905},{"type":40,"tag":82,"props":2393,"children":2394},{"style":137},[2395],{"type":46,"value":140},{"type":40,"tag":82,"props":2397,"children":2398},{"style":241},[2399],{"type":46,"value":2400}," score",{"type":40,"tag":82,"props":2402,"children":2403},{"style":137},[2404],{"type":46,"value":249},{"type":40,"tag":82,"props":2406,"children":2407},{"style":1024},[2408],{"type":46,"value":2409}," 100",{"type":40,"tag":82,"props":2411,"children":2412},{"style":137},[2413],{"type":46,"value":905},{"type":40,"tag":82,"props":2415,"children":2416},{"style":241},[2417],{"type":46,"value":2418}," member",{"type":40,"tag":82,"props":2420,"children":2421},{"style":137},[2422],{"type":46,"value":249},{"type":40,"tag":82,"props":2424,"children":2425},{"style":137},[2426],{"type":46,"value":161},{"type":40,"tag":82,"props":2428,"children":2429},{"style":95},[2430],{"type":46,"value":2431},"player1",{"type":40,"tag":82,"props":2433,"children":2434},{"style":137},[2435],{"type":46,"value":170},{"type":40,"tag":82,"props":2437,"children":2438},{"style":137},[2439],{"type":46,"value":151},{"type":40,"tag":82,"props":2441,"children":2442},{"style":143},[2443],{"type":46,"value":311},{"type":40,"tag":82,"props":2445,"children":2446},{"style":137},[2447],{"type":46,"value":175},{"type":40,"tag":82,"props":2449,"children":2451},{"class":84,"line":2450},23,[2452,2456,2460,2464,2469,2473,2477,2481,2485,2489,2493,2497,2501,2505,2509],{"type":40,"tag":82,"props":2453,"children":2454},{"style":131},[2455],{"type":46,"value":869},{"type":40,"tag":82,"props":2457,"children":2458},{"style":143},[2459],{"type":46,"value":874},{"type":40,"tag":82,"props":2461,"children":2462},{"style":137},[2463],{"type":46,"value":357},{"type":40,"tag":82,"props":2465,"children":2466},{"style":222},[2467],{"type":46,"value":2468},"zrange",{"type":40,"tag":82,"props":2470,"children":2471},{"style":143},[2472],{"type":46,"value":229},{"type":40,"tag":82,"props":2474,"children":2475},{"style":137},[2476],{"type":46,"value":170},{"type":40,"tag":82,"props":2478,"children":2479},{"style":95},[2480],{"type":46,"value":2383},{"type":40,"tag":82,"props":2482,"children":2483},{"style":137},[2484],{"type":46,"value":170},{"type":40,"tag":82,"props":2486,"children":2487},{"style":137},[2488],{"type":46,"value":905},{"type":40,"tag":82,"props":2490,"children":2491},{"style":1024},[2492],{"type":46,"value":2169},{"type":40,"tag":82,"props":2494,"children":2495},{"style":137},[2496],{"type":46,"value":905},{"type":40,"tag":82,"props":2498,"children":2499},{"style":137},[2500],{"type":46,"value":2178},{"type":40,"tag":82,"props":2502,"children":2503},{"style":1024},[2504],{"type":46,"value":2183},{"type":40,"tag":82,"props":2506,"children":2507},{"style":143},[2508],{"type":46,"value":311},{"type":40,"tag":82,"props":2510,"children":2511},{"style":137},[2512],{"type":46,"value":175},{"type":40,"tag":82,"props":2514,"children":2516},{"class":84,"line":2515},24,[2517],{"type":40,"tag":82,"props":2518,"children":2519},{"emptyLinePlaceholder":181},[2520],{"type":46,"value":184},{"type":40,"tag":82,"props":2522,"children":2524},{"class":84,"line":2523},25,[2525],{"type":40,"tag":82,"props":2526,"children":2527},{"style":191},[2528],{"type":46,"value":2529},"\u002F\u002F JSON\n",{"type":40,"tag":82,"props":2531,"children":2533},{"class":84,"line":2532},26,[2534,2538,2542,2546,2551,2555,2559,2563,2567,2571,2575,2579,2583,2588,2592,2596,2600,2604,2608,2612,2616,2620,2624,2629,2633,2637,2642,2646,2650,2655,2659,2663,2667,2671],{"type":40,"tag":82,"props":2535,"children":2536},{"style":131},[2537],{"type":46,"value":869},{"type":40,"tag":82,"props":2539,"children":2540},{"style":143},[2541],{"type":46,"value":874},{"type":40,"tag":82,"props":2543,"children":2544},{"style":137},[2545],{"type":46,"value":357},{"type":40,"tag":82,"props":2547,"children":2548},{"style":143},[2549],{"type":46,"value":2550},"json",{"type":40,"tag":82,"props":2552,"children":2553},{"style":137},[2554],{"type":46,"value":357},{"type":40,"tag":82,"props":2556,"children":2557},{"style":222},[2558],{"type":46,"value":883},{"type":40,"tag":82,"props":2560,"children":2561},{"style":143},[2562],{"type":46,"value":229},{"type":40,"tag":82,"props":2564,"children":2565},{"style":137},[2566],{"type":46,"value":170},{"type":40,"tag":82,"props":2568,"children":2569},{"style":95},[2570],{"type":46,"value":1798},{"type":40,"tag":82,"props":2572,"children":2573},{"style":137},[2574],{"type":46,"value":170},{"type":40,"tag":82,"props":2576,"children":2577},{"style":137},[2578],{"type":46,"value":905},{"type":40,"tag":82,"props":2580,"children":2581},{"style":137},[2582],{"type":46,"value":161},{"type":40,"tag":82,"props":2584,"children":2585},{"style":95},[2586],{"type":46,"value":2587},"$",{"type":40,"tag":82,"props":2589,"children":2590},{"style":137},[2591],{"type":46,"value":170},{"type":40,"tag":82,"props":2593,"children":2594},{"style":137},[2595],{"type":46,"value":905},{"type":40,"tag":82,"props":2597,"children":2598},{"style":137},[2599],{"type":46,"value":140},{"type":40,"tag":82,"props":2601,"children":2602},{"style":241},[2603],{"type":46,"value":1288},{"type":40,"tag":82,"props":2605,"children":2606},{"style":137},[2607],{"type":46,"value":249},{"type":40,"tag":82,"props":2609,"children":2610},{"style":137},[2611],{"type":46,"value":161},{"type":40,"tag":82,"props":2613,"children":2614},{"style":95},[2615],{"type":46,"value":1301},{"type":40,"tag":82,"props":2617,"children":2618},{"style":137},[2619],{"type":46,"value":170},{"type":40,"tag":82,"props":2621,"children":2622},{"style":137},[2623],{"type":46,"value":905},{"type":40,"tag":82,"props":2625,"children":2626},{"style":241},[2627],{"type":46,"value":2628}," address",{"type":40,"tag":82,"props":2630,"children":2631},{"style":137},[2632],{"type":46,"value":249},{"type":40,"tag":82,"props":2634,"children":2635},{"style":137},[2636],{"type":46,"value":140},{"type":40,"tag":82,"props":2638,"children":2639},{"style":241},[2640],{"type":46,"value":2641}," city",{"type":40,"tag":82,"props":2643,"children":2644},{"style":137},[2645],{"type":46,"value":249},{"type":40,"tag":82,"props":2647,"children":2648},{"style":137},[2649],{"type":46,"value":161},{"type":40,"tag":82,"props":2651,"children":2652},{"style":95},[2653],{"type":46,"value":2654},"NYC",{"type":40,"tag":82,"props":2656,"children":2657},{"style":137},[2658],{"type":46,"value":170},{"type":40,"tag":82,"props":2660,"children":2661},{"style":137},[2662],{"type":46,"value":151},{"type":40,"tag":82,"props":2664,"children":2665},{"style":137},[2666],{"type":46,"value":151},{"type":40,"tag":82,"props":2668,"children":2669},{"style":143},[2670],{"type":46,"value":311},{"type":40,"tag":82,"props":2672,"children":2673},{"style":137},[2674],{"type":46,"value":175},{"type":40,"tag":82,"props":2676,"children":2678},{"class":84,"line":2677},27,[2679,2683,2687,2691,2695,2699,2703,2707,2711,2715,2719,2723],{"type":40,"tag":82,"props":2680,"children":2681},{"style":131},[2682],{"type":46,"value":869},{"type":40,"tag":82,"props":2684,"children":2685},{"style":143},[2686],{"type":46,"value":874},{"type":40,"tag":82,"props":2688,"children":2689},{"style":137},[2690],{"type":46,"value":357},{"type":40,"tag":82,"props":2692,"children":2693},{"style":143},[2694],{"type":46,"value":2550},{"type":40,"tag":82,"props":2696,"children":2697},{"style":137},[2698],{"type":46,"value":357},{"type":40,"tag":82,"props":2700,"children":2701},{"style":222},[2702],{"type":46,"value":966},{"type":40,"tag":82,"props":2704,"children":2705},{"style":143},[2706],{"type":46,"value":229},{"type":40,"tag":82,"props":2708,"children":2709},{"style":137},[2710],{"type":46,"value":170},{"type":40,"tag":82,"props":2712,"children":2713},{"style":95},[2714],{"type":46,"value":1798},{"type":40,"tag":82,"props":2716,"children":2717},{"style":137},[2718],{"type":46,"value":170},{"type":40,"tag":82,"props":2720,"children":2721},{"style":143},[2722],{"type":46,"value":311},{"type":40,"tag":82,"props":2724,"children":2725},{"style":137},[2726],{"type":46,"value":175},{"type":40,"tag":82,"props":2728,"children":2730},{"class":84,"line":2729},28,[2731],{"type":40,"tag":82,"props":2732,"children":2733},{"emptyLinePlaceholder":181},[2734],{"type":46,"value":184},{"type":40,"tag":82,"props":2736,"children":2738},{"class":84,"line":2737},29,[2739],{"type":40,"tag":82,"props":2740,"children":2741},{"style":191},[2742],{"type":46,"value":2743},"\u002F\u002F Expiration\n",{"type":40,"tag":82,"props":2745,"children":2747},{"class":84,"line":2746},30,[2748,2752,2756,2760,2765,2769,2773,2778,2782,2786,2791,2795,2799,2804,2808,2812,2817,2821,2825,2829],{"type":40,"tag":82,"props":2749,"children":2750},{"style":131},[2751],{"type":46,"value":869},{"type":40,"tag":82,"props":2753,"children":2754},{"style":143},[2755],{"type":46,"value":874},{"type":40,"tag":82,"props":2757,"children":2758},{"style":137},[2759],{"type":46,"value":357},{"type":40,"tag":82,"props":2761,"children":2762},{"style":222},[2763],{"type":46,"value":2764},"setex",{"type":40,"tag":82,"props":2766,"children":2767},{"style":143},[2768],{"type":46,"value":229},{"type":40,"tag":82,"props":2770,"children":2771},{"style":137},[2772],{"type":46,"value":170},{"type":40,"tag":82,"props":2774,"children":2775},{"style":95},[2776],{"type":46,"value":2777},"session",{"type":40,"tag":82,"props":2779,"children":2780},{"style":137},[2781],{"type":46,"value":170},{"type":40,"tag":82,"props":2783,"children":2784},{"style":137},[2785],{"type":46,"value":905},{"type":40,"tag":82,"props":2787,"children":2788},{"style":1024},[2789],{"type":46,"value":2790}," 3600",{"type":40,"tag":82,"props":2792,"children":2793},{"style":137},[2794],{"type":46,"value":905},{"type":40,"tag":82,"props":2796,"children":2797},{"style":137},[2798],{"type":46,"value":140},{"type":40,"tag":82,"props":2800,"children":2801},{"style":241},[2802],{"type":46,"value":2803}," userId",{"type":40,"tag":82,"props":2805,"children":2806},{"style":137},[2807],{"type":46,"value":249},{"type":40,"tag":82,"props":2809,"children":2810},{"style":137},[2811],{"type":46,"value":161},{"type":40,"tag":82,"props":2813,"children":2814},{"style":95},[2815],{"type":46,"value":2816},"123",{"type":40,"tag":82,"props":2818,"children":2819},{"style":137},[2820],{"type":46,"value":170},{"type":40,"tag":82,"props":2822,"children":2823},{"style":137},[2824],{"type":46,"value":151},{"type":40,"tag":82,"props":2826,"children":2827},{"style":143},[2828],{"type":46,"value":311},{"type":40,"tag":82,"props":2830,"children":2831},{"style":137},[2832],{"type":46,"value":175},{"type":40,"tag":82,"props":2834,"children":2836},{"class":84,"line":2835},31,[2837,2841,2845,2849,2854,2858,2862,2866,2870,2874,2879,2883],{"type":40,"tag":82,"props":2838,"children":2839},{"style":131},[2840],{"type":46,"value":869},{"type":40,"tag":82,"props":2842,"children":2843},{"style":143},[2844],{"type":46,"value":874},{"type":40,"tag":82,"props":2846,"children":2847},{"style":137},[2848],{"type":46,"value":357},{"type":40,"tag":82,"props":2850,"children":2851},{"style":222},[2852],{"type":46,"value":2853},"expire",{"type":40,"tag":82,"props":2855,"children":2856},{"style":143},[2857],{"type":46,"value":229},{"type":40,"tag":82,"props":2859,"children":2860},{"style":137},[2861],{"type":46,"value":170},{"type":40,"tag":82,"props":2863,"children":2864},{"style":95},[2865],{"type":46,"value":1589},{"type":40,"tag":82,"props":2867,"children":2868},{"style":137},[2869],{"type":46,"value":170},{"type":40,"tag":82,"props":2871,"children":2872},{"style":137},[2873],{"type":46,"value":905},{"type":40,"tag":82,"props":2875,"children":2876},{"style":1024},[2877],{"type":46,"value":2878}," 60",{"type":40,"tag":82,"props":2880,"children":2881},{"style":143},[2882],{"type":46,"value":311},{"type":40,"tag":82,"props":2884,"children":2885},{"style":137},[2886],{"type":46,"value":175},{"type":40,"tag":82,"props":2888,"children":2890},{"class":84,"line":2889},32,[2891,2895,2899,2903,2908,2912,2916,2920,2924,2928],{"type":40,"tag":82,"props":2892,"children":2893},{"style":131},[2894],{"type":46,"value":869},{"type":40,"tag":82,"props":2896,"children":2897},{"style":143},[2898],{"type":46,"value":874},{"type":40,"tag":82,"props":2900,"children":2901},{"style":137},[2902],{"type":46,"value":357},{"type":40,"tag":82,"props":2904,"children":2905},{"style":222},[2906],{"type":46,"value":2907},"ttl",{"type":40,"tag":82,"props":2909,"children":2910},{"style":143},[2911],{"type":46,"value":229},{"type":40,"tag":82,"props":2913,"children":2914},{"style":137},[2915],{"type":46,"value":170},{"type":40,"tag":82,"props":2917,"children":2918},{"style":95},[2919],{"type":46,"value":1589},{"type":40,"tag":82,"props":2921,"children":2922},{"style":137},[2923],{"type":46,"value":170},{"type":40,"tag":82,"props":2925,"children":2926},{"style":143},[2927],{"type":46,"value":311},{"type":40,"tag":82,"props":2929,"children":2930},{"style":137},[2931],{"type":46,"value":175},{"type":40,"tag":64,"props":2933,"children":2935},{"id":2934},"best-practices",[2936],{"type":46,"value":2937},"Best Practices",{"type":40,"tag":2939,"props":2940,"children":2941},"ol",{},[2942,2952,2962,2972,2982,2992],{"type":40,"tag":475,"props":2943,"children":2944},{},[2945,2950],{"type":40,"tag":438,"props":2946,"children":2947},{},[2948],{"type":46,"value":2949},"Use environment variables",{"type":46,"value":2951}," for credentials, never hardcode",{"type":40,"tag":475,"props":2953,"children":2954},{},[2955,2960],{"type":40,"tag":438,"props":2956,"children":2957},{},[2958],{"type":46,"value":2959},"Leverage auto-serialization",{"type":46,"value":2961}," - pass native JavaScript types",{"type":40,"tag":475,"props":2963,"children":2964},{},[2965,2970],{"type":40,"tag":438,"props":2966,"children":2967},{},[2968],{"type":46,"value":2969},"Use TypeScript types",{"type":46,"value":2971}," for better type safety",{"type":40,"tag":475,"props":2973,"children":2974},{},[2975,2980],{"type":40,"tag":438,"props":2976,"children":2977},{},[2978],{"type":46,"value":2979},"Set appropriate TTLs",{"type":46,"value":2981}," to manage memory",{"type":40,"tag":475,"props":2983,"children":2984},{},[2985,2990],{"type":40,"tag":438,"props":2986,"children":2987},{},[2988],{"type":46,"value":2989},"Use pipelines",{"type":46,"value":2991}," for multiple operations",{"type":40,"tag":475,"props":2993,"children":2994},{},[2995,3000,3002,3008,3010,3016],{"type":40,"tag":438,"props":2996,"children":2997},{},[2998],{"type":46,"value":2999},"Namespace your keys",{"type":46,"value":3001}," (e.g., ",{"type":40,"tag":55,"props":3003,"children":3005},{"className":3004},[],[3006],{"type":46,"value":3007},"user:123",{"type":46,"value":3009},", ",{"type":40,"tag":55,"props":3011,"children":3013},{"className":3012},[],[3014],{"type":46,"value":3015},"session:abc",{"type":46,"value":311},{"type":40,"tag":64,"props":3018,"children":3020},{"id":3019},"resources",[3021],{"type":46,"value":3022},"Resources",{"type":40,"tag":471,"props":3024,"children":3025},{},[3026,3038,3048,3058],{"type":40,"tag":475,"props":3027,"children":3028},{},[3029],{"type":40,"tag":3030,"props":3031,"children":3035},"a",{"href":3032,"rel":3033},"https:\u002F\u002Fupstash.com\u002Fdocs\u002Fredis",[3034],"nofollow",[3036],{"type":46,"value":3037},"Official Documentation",{"type":40,"tag":475,"props":3039,"children":3040},{},[3041],{"type":40,"tag":3030,"props":3042,"children":3045},{"href":3043,"rel":3044},"https:\u002F\u002Fgithub.com\u002Fupstash\u002Fredis-js",[3034],[3046],{"type":46,"value":3047},"GitHub Repository",{"type":40,"tag":475,"props":3049,"children":3050},{},[3051],{"type":40,"tag":3030,"props":3052,"children":3055},{"href":3053,"rel":3054},"https:\u002F\u002Fupstash.com\u002Fdocs\u002Fredis\u002Fsdks\u002Fts\u002Foverview",[3034],[3056],{"type":46,"value":3057},"API Reference",{"type":40,"tag":475,"props":3059,"children":3060},{},[3061],{"type":40,"tag":3030,"props":3062,"children":3065},{"href":3063,"rel":3064},"https:\u002F\u002Fgithub.com\u002Fupstash\u002Fredis-js\u002Ftree\u002Fmain\u002Fexamples",[3034],[3066],{"type":46,"value":3067},"Examples",{"type":40,"tag":64,"props":3069,"children":3071},{"id":3070},"getting-help",[3072],{"type":46,"value":3073},"Getting Help",{"type":40,"tag":49,"props":3075,"children":3076},{},[3077,3079,3085],{"type":46,"value":3078},"For detailed information on specific topics, refer to the individual skill files in the ",{"type":40,"tag":55,"props":3080,"children":3082},{"className":3081},[],[3083],{"type":46,"value":3084},"skills\u002F",{"type":46,"value":3086}," directory. Each file contains comprehensive examples, use cases, and best practices for its topic.",{"type":40,"tag":3088,"props":3089,"children":3090},"style",{},[3091],{"type":46,"value":3092},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":3094,"total":2290},[3095,3113,3128,3140,3154,3170,3181,3196,3211,3226,3243,3257],{"slug":3096,"name":3096,"fn":3097,"description":3098,"org":3099,"tags":3100,"stars":3110,"repoUrl":3111,"updatedAt":3112},"context7-cli","manage documentation and skills with ctx7","Use the ctx7 CLI to fetch library documentation, manage AI coding skills, and configure Context7 MCP. Activate when the user mentions \"ctx7\" or \"context7\", needs current docs for any library, wants to install\u002Fsearch\u002Fgenerate skills, or needs to set up Context7 for their AI coding agent.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3101,3104,3107],{"name":3102,"slug":3103,"type":15},"CLI","cli",{"name":3105,"slug":3106,"type":15},"Documentation","documentation",{"name":3108,"slug":3109,"type":15},"Knowledge Management","knowledge-management",60095,"https:\u002F\u002Fgithub.com\u002Fupstash\u002Fcontext7","2026-04-06T18:55:02.689254",{"slug":3114,"name":3114,"fn":3115,"description":3116,"org":3117,"tags":3118,"stars":3110,"repoUrl":3111,"updatedAt":3127},"context7-docs","fetch documentation and code examples","Fetch up-to-date documentation and code examples for any library, framework, SDK, CLI tool, or cloud service. Use whenever the user asks about a specific library — even well-known ones like React, Next.js, Prisma, Express, Tailwind, Django, or Spring Boot — because training data may not reflect recent API changes or version updates.\nAlways use for: API syntax questions, configuration options, version migration issues, \"how do I\" questions mentioning a library name, debugging that involves library-specific behavior, setup instructions, and CLI tool usage.\nUse even when you think you know the answer. Do not rely on training data for API details, signatures, or configuration options — they are frequently out of date. Prefer this over web search for library documentation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3119,3120,3121,3124],{"name":3102,"slug":3103,"type":15},{"name":3105,"slug":3106,"type":15},{"name":3122,"slug":3123,"type":15},"Reference","reference",{"name":3125,"slug":3126,"type":15},"SDK","sdk","2026-07-28T05:35:31.125695",{"slug":3129,"name":3129,"fn":3130,"description":3131,"org":3132,"tags":3133,"stars":3110,"repoUrl":3111,"updatedAt":3139},"context7-mcp","retrieve library documentation via MCP","This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3134,3135,3136],{"name":3105,"slug":3106,"type":15},{"name":3108,"slug":3109,"type":15},{"name":3137,"slug":3138,"type":15},"MCP","mcp","2026-07-28T05:35:32.109879",{"slug":3141,"name":3141,"fn":3142,"description":3143,"org":3144,"tags":3145,"stars":3110,"repoUrl":3111,"updatedAt":3153},"find-docs","retrieve documentation for developer technologies","Retrieves up-to-date documentation, API references, and code examples for any developer technology. Use this skill whenever the user asks about a specific library, framework, SDK, CLI tool, or cloud service — even for well-known ones like React, Next.js, Prisma, Express, Tailwind, Django, or Spring Boot. Your training data may not reflect recent API changes or version updates.\nAlways use for: API syntax questions, configuration options, version migration issues, \"how do I\" questions mentioning a library name, debugging that involves library-specific behavior, setup instructions, and CLI tool usage.\nUse even when you think you know the answer — do not rely on training data for API details, signatures, or configuration options as they are frequently outdated. Always verify against current docs. Prefer this over web search for library documentation and API details.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3146,3147,3150],{"name":3105,"slug":3106,"type":15},{"name":3148,"slug":3149,"type":15},"Research","research",{"name":3151,"slug":3152,"type":15},"Search","search","2026-07-28T05:35:30.135004",{"slug":3155,"name":3155,"fn":3156,"description":3157,"org":3158,"tags":3159,"stars":3167,"repoUrl":3168,"updatedAt":3169},"upstash-ratelimit-ts","implement Redis rate limiting with Upstash","Lightweight guidance for using the Redis Rate Limit TypeScript SDK, including setup steps, basic usage, and pointers to advanced algorithm, features, pricing, and traffic‑protection docs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3160,3163,3164,3166],{"name":3161,"slug":3162,"type":15},"Performance","performance",{"name":17,"slug":18,"type":15},{"name":3165,"slug":121,"type":15},"TypeScript",{"name":9,"slug":8,"type":15},2043,"https:\u002F\u002Fgithub.com\u002Fupstash\u002Fratelimit-js","2026-04-06T18:55:05.25459",{"slug":3171,"name":3171,"fn":5,"description":3172,"org":3173,"tags":3174,"stars":3179,"repoUrl":3043,"updatedAt":3180},"redis-js","Work with the Upstash Redis JavaScript\u002FTypeScript SDK for serverless Redis operations. Use for caching, session storage, rate limiting, leaderboards, full-text search (querying, filtering, aggregating with @upstash\u002Fredis search extension), and all Redis data structures. Supports automatic serialization\u002Fdeserialization of JavaScript types. Search also available via @upstash\u002Fsearch-redis and @upstash\u002Fsearch-ioredis adapters for TCP clients.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3175,3176,3177,3178],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},959,"2026-04-06T18:55:06.549589",{"slug":3182,"name":3182,"fn":3183,"description":3184,"org":3185,"tags":3186,"stars":3193,"repoUrl":3194,"updatedAt":3195},"qstash-js","manage serverless messaging with QStash","Work with the QStash JavaScript\u002FTypeScript SDK for serverless messaging, scheduling. Use when publishing messages to HTTP endpoints, creating schedules, managing queues, verifying incoming messages in serverless environments.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3187,3190,3191,3192],{"name":3188,"slug":3189,"type":15},"Messaging","messaging",{"name":13,"slug":14,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},268,"https:\u002F\u002Fgithub.com\u002Fupstash\u002Fqstash-js","2026-04-06T18:55:07.811408",{"slug":3197,"name":3197,"fn":3198,"description":3199,"org":3200,"tags":3201,"stars":3208,"repoUrl":3209,"updatedAt":3210},"upstash-workflow-js","build serverless workflows with Upstash","Lightweight guidance for using the Upstash Workflow SDK to define, trigger, and manage workflows. Use this Skill whenever a user wants to create workflow endpoints, run steps, or interact with the Upstash Workflow client.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3202,3203,3204,3205],{"name":13,"slug":14,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},{"name":3206,"slug":3207,"type":15},"Workflow Automation","workflow-automation",150,"https:\u002F\u002Fgithub.com\u002Fupstash\u002Fworkflow-js","2026-04-06T18:55:09.106744",{"slug":3212,"name":3212,"fn":3213,"description":3214,"org":3215,"tags":3216,"stars":3223,"repoUrl":3224,"updatedAt":3225},"upstash-vector-js","implement vector search with Upstash","Provides quick-start guidance and a unified entry point for Vector features, SDK usage, and integrations. Use when users ask how to work with Vector, its TS SDK, features, or supported frameworks.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3217,3220,3221,3222],{"name":3218,"slug":3219,"type":15},"AI Infrastructure","ai-infrastructure",{"name":13,"slug":14,"type":15},{"name":3151,"slug":3152,"type":15},{"name":9,"slug":8,"type":15},70,"https:\u002F\u002Fgithub.com\u002Fupstash\u002Fvector-js","2026-04-06T18:55:10.452627",{"slug":3227,"name":3227,"fn":3228,"description":3229,"org":3230,"tags":3231,"stars":3240,"repoUrl":3241,"updatedAt":3242},"upstash-box-js","build sandboxed environments with Upstash Box","Work with the @upstash\u002Fbox SDK for sandboxed cloud containers with AI agents, shell, filesystem, and git. Use when building with Upstash Box, creating sandboxed environments, running AI agents in containers, or orchestrating parallel boxes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3232,3235,3236,3239],{"name":3233,"slug":3234,"type":15},"Agents","agents",{"name":13,"slug":14,"type":15},{"name":3237,"slug":3238,"type":15},"Sandboxing","sandboxing",{"name":9,"slug":8,"type":15},34,"https:\u002F\u002Fgithub.com\u002Fupstash\u002Fbox","2026-04-06T18:55:14.361763",{"slug":3244,"name":3244,"fn":3245,"description":3246,"org":3247,"tags":3248,"stars":2352,"repoUrl":3255,"updatedAt":3256},"upstash-search-js","implement search features with Upstash","Entry point for documentation skills covering Upstash Search quick starts, core concepts, and TypeScript SDK usage. Use when a user asks how to get started, how indexing works, or how to use the TS client.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3249,3252,3253,3254],{"name":3250,"slug":3251,"type":15},"API Development","api-development",{"name":13,"slug":14,"type":15},{"name":3151,"slug":3152,"type":15},{"name":9,"slug":8,"type":15},"https:\u002F\u002Fgithub.com\u002Fupstash\u002Fsearch-js","2026-04-06T18:55:11.769669",{"slug":8,"name":8,"fn":3258,"description":3259,"org":3260,"tags":3261,"stars":23,"repoUrl":24,"updatedAt":3268},"build applications with Upstash SDKs","Work with any Upstash TypeScript\u002FJavaScript SDK including Redis, Box, QStash, Workflow, Vector, Search and Ratelimit. Use when the user is working with any Upstash product or SDK.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3262,3265,3266,3267],{"name":3263,"slug":3264,"type":15},"Database","database",{"name":17,"slug":18,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:55:15.67714",{"items":3270,"total":300},[3271,3278,3295,3307,3317,3330,3337],{"slug":8,"name":8,"fn":3258,"description":3259,"org":3272,"tags":3273,"stars":23,"repoUrl":24,"updatedAt":3268},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3274,3275,3276,3277],{"name":3263,"slug":3264,"type":15},{"name":17,"slug":18,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},{"slug":3279,"name":3279,"fn":3228,"description":3280,"org":3281,"tags":3282,"stars":23,"repoUrl":24,"updatedAt":3294},"upstash-box-py","Work with the upstash-box Python SDK for sandboxed cloud containers with AI agents, shell, filesystem, and git. Use when building with Upstash Box in Python, creating sandboxed environments, running AI agents in containers, or orchestrating parallel boxes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3283,3286,3289,3292,3293],{"name":3284,"slug":3285,"type":15},"Cloud","cloud",{"name":3287,"slug":3288,"type":15},"Code Execution","code-execution",{"name":3290,"slug":3291,"type":15},"Python","python",{"name":3237,"slug":3238,"type":15},{"name":9,"slug":8,"type":15},"2026-06-26T07:48:31.466005",{"slug":3296,"name":3296,"fn":3297,"description":3298,"org":3299,"tags":3300,"stars":23,"repoUrl":24,"updatedAt":3306},"upstash-cli","manage Upstash resources via CLI","Run the Upstash CLI (`upstash`) against the Upstash Developer API for Redis, Vector, Search, QStash, and teams. Use when listing or managing databases, backups, vector\u002Fsearch indexes, QStash instances, team members, stats, or any non-interactive Upstash automation with JSON output and terminal commands.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3301,3302,3303,3304,3305],{"name":3102,"slug":3103,"type":15},{"name":3263,"slug":3264,"type":15},{"name":17,"slug":18,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},"2026-04-27T05:30:29.643462",{"slug":3308,"name":3308,"fn":3183,"description":3309,"org":3310,"tags":3311,"stars":23,"repoUrl":24,"updatedAt":3316},"upstash-qstash-js","Work with the QStash TypeScript\u002FJavaScript SDK for serverless messaging, scheduling. Use when publishing messages to HTTP endpoints, creating schedules, managing queues, verifying incoming messages and other QStash features in serverless environments.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3312,3313,3314,3315],{"name":3188,"slug":3189,"type":15},{"name":13,"slug":14,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:55:20.426103",{"slug":3318,"name":3318,"fn":3319,"description":3320,"org":3321,"tags":3322,"stars":23,"repoUrl":24,"updatedAt":3329},"upstash-ratelimit-js","implement rate limiting with Upstash","Lightweight guidance for using the Upstash Redis RateLimit TypeScript\u002FJavaScript SDK, including setup steps, basic usage, and pointers to advanced algorithm, features, pricing, and traffic‑protection docs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3323,3324,3325,3328],{"name":13,"slug":14,"type":15},{"name":3161,"slug":3162,"type":15},{"name":3326,"slug":3327,"type":15},"Security","security",{"name":9,"slug":8,"type":15},"2026-04-06T18:55:19.131145",{"slug":4,"name":4,"fn":5,"description":6,"org":3331,"tags":3332,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3333,3334,3335,3336],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},{"slug":3338,"name":3338,"fn":3339,"description":3340,"org":3341,"tags":3342,"stars":23,"repoUrl":24,"updatedAt":3353},"upstash-redis-start","provision Upstash Redis databases for agents","Provision a zero-config, no-signup Upstash Redis database for an AI agent via a single POST to `https:\u002F\u002Fupstash.com\u002Fstart-redis`. Use when an agent needs scratch Redis for short-term memory, conversation history, sub-agent work queues, or ranked recall and the user has not provided credentials. The database lives 3 days unless the user claims it.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3343,3344,3347,3348,3351,3352],{"name":3233,"slug":3234,"type":15},{"name":3345,"slug":3346,"type":15},"Automation","automation",{"name":3263,"slug":3264,"type":15},{"name":3349,"slug":3350,"type":15},"Memory","memory",{"name":17,"slug":18,"type":15},{"name":9,"slug":8,"type":15},"2026-05-09T05:27:35.503104"]