npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@nxuss/lemma

v0.4.8

Published

Intelligent AI Gateway for IDEs & Agents — Semantic cache, Privacy Firewall, and Autonomous Cost-Optimization.

Readme

Lemma v0.4.7

The Intelligent AI Gateway — Privacy, Performance, and Precision for the Agentic Era.

Lemma is a high-performance orchestration layer that sits between your development environment and LLM providers. It transforms the way you build with AI by providing Shared Semantic Memory, Autonomous Cost Optimization, and Privacy Guardrails.


⚡ Killer Features

✂️ Codebase Context Squeezer (AST Tree-Shaker)

Unbelievable Prompt Compaction. Stop wasting Claude Pro context limits and throttled Cursor speeds on repetitive codebase payloads. Lemma automatically tree-shakes outgoing prompts, recursively pruning heavy, irrelevant implementations while keeping structural declarations and symbols intact. Get ultra-fast answers under 1 second and enjoy 10x longer chats without ever hitting Claude's 5-hour usage caps.

🛸 Local Cache-Augmented Response Synthesis (CARS)

Zero-Cost Response Generation. When you ask a query semantically similar to a previous question, Lemma avoids the cloud completely. Instead, it dynamically harnesses your local computational environment to adjust and synthesize the historical answer to fit your new requirements in less than a second. 0 Cloud Tokens, 0 Cloud API costs, and seamless offline fallback protection.

🛡️ Privacy Firewall (Semantic Scrubber)

Zero-Trust Prompts. Stop leaking sensitive data. Lemma automatically detects API keys, PII, and credentials in your prompts, masking them with secure tokens before they reach the cloud. Responses are seamlessly reconstructed locally.

🚦 Complexity Router (Cost-Optimizer)

Intelligence Where it Matters. Lemma analyzes the semantic complexity of every request. It autonomously routes lightweight tasks to hyper-efficient models like gpt-4o-mini, reserving premium models for high-reasoning challenges. Save up to 90% on simple tasks.

🧠 Telepathic Context Injector (Runtime Sync)

Bridge the Gap Between Code and Execution. Lemma synchronizes your application's live runtime state and exceptions directly with your IDE’s consciousness. Your AI assistant gains immediate "situational awareness" of crashes.

⚡ Shared Semantic Cache

Stop Paying for the Same Thought Twice. Lemma understands meaning. It recognizes similar prompts and returns instant (3ms) responses, saving 40-70% on total API expenditure.


🚀 Smart CLI (Zero-Config)

Lemma v0.4.7 introduces the Smart CLI, making it easier than ever to get started:

# 1. Install
npm install -g @nxuss/lemma

# 2. Initialize (Auto-configures .env and .lemma/)
lemma init

# 3. Start with Intelligence Report
lemma start

🧠 Intelligence Report

On startup, Lemma performs a System Check to detect dependencies like Ollama and ChromaDB, providing a real-time report of active features and optimizations.


💎 Tier Comparison

| Feature | 🆓 Free (Standard) | 💎 Pro ($12/mo) | | :--- | :--- | :--- | | Privacy Firewall | ✅ Included | ✅ Advanced Masking | | Complexity Router | ✅ Included | ✅ Custom Routing Policies | | Caching | Exact Match | Semantic Memory | | Hive Mind | Local Only | Cloud Sync (Team Memory) | | Telepathy | Basic Sync | Advanced State Injection | | Limits | 300 requests/mo | Unlimited Agentic Power |


🛠️ Integration: Power Up Your Favorite Tools

Lemma is compatible with any tool that allows you to configure a custom OpenAI Base URL. This means you can add Lemma's intelligence to your existing workflow in seconds.

💬 Use it with AI Chats & IDEs

You don't need to change your habits. Just point your tool's "Base URL" to Lemma:

  • Cursor: Go to Settings > Models > OpenAI API > Override Base URL and set it to http://localhost:8081/v1.
  • VS Code (Continue): Update your config.json to use http://localhost:8081/v1 as the apiBase.
  • AutoGPT / BabyAGI: Set the OPENAI_API_BASE environment variable.
  • Custom Apps: Replace https://api.openai.com/v1 with http://localhost:8081/v1 in your SDK initialization.

⚡ Why use Lemma for Chat?

  1. Privacy: Your IDE won't leak your secrets to the cloud.
  2. Context: Lemma syncs your runtime crashes directly to your chat window.
  3. Speed: Instant responses for similar questions via Semantic Cache.

MIT © Nxus Studio | Upgrade to Lemma Pro