Most caching libraries don't do locking, meaning that >1 process can be calculating a cached value at the same time. Since you presumably cache things because they cost CPU, database reads, or money, doesn't it make sense to lock while caching?
Cross-referenced across 55 tracked directories
#48131
Popularity Rank
1 / 55
Listed In
Emerging
Adoption Stage
Mar 15, 2026
First Seen
Recently added to the ecosystem
Run an AI-powered security scan to analyze this package's source code for vulnerabilities, prompt injection vectors, data exfiltration risks, and behavior mismatches.
Scans fetch actual source code from the GitHub repository — not just the README.
GitHub Actions
TypeScript SDK for AWS Bedrock AgentCore
ai
A tiny (118 bytes), secure URL-friendly unique string ID generator
google-wombot
[](https://www.npmjs.com/package/@google/genai) [](https://www.npmjs.com/package/@google/genai)
...moredjfarrelly
AI adapter package for Inngest, providing type-safe interfaces to various AI providers including OpenAI, Anthropic, Gemini, Grok, and Azure OpenAI.
...more