u/Curious_Smoke9179

I built a guide to decorating your GitHub profile README with custom SVG cards and auto-updating stats powered by GitHub Actions

I built a guide to decorating your GitHub profile README with custom SVG cards and auto-updating stats powered by GitHub Actions

Hello
I build a guide to decorating your own GitHub profile by using badges and GitHub action , etc .
Please review this and star if you like it
Thank you :>

github.com
u/Curious_Smoke9179 — 2 days ago
▲ 1 r/npm+1 crossposts

layercache: Unified multi-layer caching for Node.js with memory, Redis, stampede prevention, and invalidation helpers.

Built this because I kept hitting two problems with existing cache libraries: cache stampede (100 concurrent requests on a cold key = 100 DB calls) and the pain of wiring memory + Redis together correctly.

layercache stacks layers (Memory -> Redis -> Disk), automatically backfills on hits, and deduplicates concurrent fetchers so your DB only gets called once no matter how many requests pile up. Works across multiple Node instances too via Redis locks.

Other stuff it handles: tag invalidation, stale-while-revalidate, circuit breaker, graceful degradation when Redis goes down, and middleware for Express, Fastify, Hono, tRPC, and Next.js.

npm install layercache

Would love feedback, especially if there's something your current setup handles that this doesn't. And if it looks useful, a star on GitHub would mean a lot!

GitHub: https://github.com/flyingsquirrel0419/layercache

github.com
u/Curious_Smoke9179 — 3 days ago