PerryTS

PerryTS / redis

Public

Pure-TypeScript Redis / Valkey wire-protocol driver. Runs unchanged on Node.js + Bun, AOT-compiles to a native binary via Perry (LLVM).

19
0
100% credibility
Found May 11, 2026 at 19 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

A TypeScript library for connecting JavaScript apps to Redis and Valkey databases, running on Node.js and Bun or compiling to native binaries.

How It Works

1
🔍 Discover a fast Redis helper

You hear about a simple tool that lets your app talk to Redis data stores quickly and easily.

2
📦 Add the helper to your project

You bring in this friendly library that fits right into your JavaScript or TypeScript work.

3
🔌 Connect to your data store

You tell it the address of your Redis server, add any login details, and it links up smoothly.

4
Store and fetch your first data

You save a greeting like 'hello world' and pull it back instantly, feeling the speed firsthand.

5
🚀 Handle lots of actions at once

You bundle many saves or lookups into groups, sending them in a rush for even faster results.

🏆 Your app zooms with Redis power

Everything works blazing fast, even turning into a standalone program without extra runtimes.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 19 to 19 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is redis?

PerryTS/redis is a pure TypeScript driver for Redis and Valkey that implements the full wire protocol, letting you connect, pipeline commands, handle pub/sub, transactions, Lua scripts, clustering, and blocking ops like BLPOP. It runs unchanged on Node.js or Bun, and aot-compiles to a standalone native binary via Perry and LLVM—no JS runtime, no native deps like hiredis or FFI. Users get a single API for TCP/TLS connections, RESP2/RESP3, pools, and env-var URLs like redis:// or rediss://.

Why is it gaining traction?

It sidesteps the pitfalls of ioredis or node-redis, which rely on dynamic JS features that break AOT compilation, delivering comparable benchmarks (20k+ ops/sec on loops) while supporting TLS-from-SYN, client tracking invalidations, and cluster redirects out of the box. Devs dig the zero-deps purity and binary output for edge deploys—no rebuilding across platforms. Compared to python redis github clients or redis github docker setups, it's lighter for JS stacks without sacrificing features like pipelining or EVALSHA auto-retry.

Who should use this?

Bun enthusiasts building high-throughput services, Node devs ditching native addons for pure TS, or toolmakers wanting a Redis client in native binaries for CLI apps. Ideal for Valkey users in serverless/edge where JS bloat hurts, or teams managing redis github helm charts who need a reliable TypeScript alternative to redis microsoft github options.

Verdict

Solid for Bun/Node experiments with aot-compiles to binary, full features, and MIT license (check redis github releases for 0.1.1), but 19 stars and 1.0% credibility signal early maturity—docs are README-only, no redist or redistricting edge cases tested yet. Try it if you need no-deps perf; stick to node-redis for production stability.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.