ai-agent

limu: Faster Immutable State Management with Immer‑compatible API

Boost your JavaScript app’s performance using limu’s shallow‑copy on read, mark‑modified on write approach—perfect for founders needing immutable data without sacrificing speed.

From the repo · “High performance immutable lib alternative to immer with the same api, based on shallow copy on read and mark modified on write mechanism.”

intermediate⏱ 30 minutes💵 Free (JavaScript library)
255 stars14 forksJavaScriptGuide quality 8/10 · reviewed Oct 10Updated 4/1/2026100% free · open source
What it is

Create high-performance immutable data structures in JavaScript using Limu.

Real use case example

"A founder building a live leaderboard for a sports game app needs to update scores in real-time, so they use Limu to create a fast and immutable data structure for the scores, then deploy it to their production environment."

Best insideClaude DesktopClaude CodeCodex CLI
When to use it
  • •When you need efficient data management in your JavaScript application
  • •When you're looking for a lightweight alternative to immer for state management
  • •When performance is critical and you want to avoid unnecessary data copying
Ready-to-paste prompt
produce({ a: { b: [1, 2, 3] } }, draft => { draft.a.b.push(4); }); // creates a new state with an updated array without mutating the original state
Heads up: Ensure you are using the correct version of Node.js, as Limu may not be compatible with very old versions, and be aware that Limu is designed to work with the same API as immer, so any existing immer code should work with minimal modifications
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/limu && curl -fsSL https://workflowstacks.com/api/skills/limu/claude-skill -o ~/.claude/skills/limu/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How limu: Faster Immutable State Management with Immer‑compatible API works
Codeflow
Free to inspect

Limu: Faster Immutable State Management with Immer‑compatible API is a medium JavaScript project (~5.7k lines across 59 code files, plus 98 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit 7 months ago, MIT license, has a test suite.

Size
Medium codebase
~5.7k lines · 59 code files · 48 min skim
Setup
One-command install
Installs like a normal app. Reading the code is optional.
Runs on
Node.js
No API keys detected
JavaScript 83%TypeScript 17%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    src/index.ts
    Where the program starts running
  3. 3
    package.json
    Dependencies and the commands it exposes
What's in each folder
src/Core code — the actual logic14 files
doc/Documentation66 files
benchmark/Evaluations & benchmarks18 files
debug/Folder11 files
test/Tests — proof it works98 files
READMEHas testsDocumentedCI checksMIT licenseLast update 7 mo ago
Quick Actions
Details
Creator
tnfe
Language
JavaScript
Category
ai-agent
Published
5/29/2021

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/limu.svg)](https://workflowstacks.com/skills/limu?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Do this with a working workflow

Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.