开发者工具DEVELOPER TOOLS· CODING-AGENT
meta/memlab
Memlab 自动找出 JavaScript 内存泄漏,帮你定位卡顿根源。A JavaScript memory leak detector that analyzes heap snapshots and works with AI coding assistants.
根据公开文档整理,未运行实测;费用以项目官网为准。Based on public documentation, without runtime testing. Check the project site for pricing.
能力CAPABILITIES
找出网页里的内存泄漏
查看堆快照定位泄漏源头
分析未绑定对象的内存占用
追踪特定对象的内存引用路径
在测试中验证对象能被回收
Find memory leaks with a single command
Visualize heap object references and traces
Write custom leak detection scenarios
Run memory assertions in unit tests
Analyze heap snapshots from browser or Node.js
上手GET STARTED
npm install -g memlab选择与你的环境对应的方式。命令来自项目文档,未运行实测。Choose the option for your environment. Commands come from project documentation and have not been run-tested.
使用限制LIMITATIONS
以下要求与风险来自文档静态检查,未执行项目代码;扫描没有命中,不代表使用安全。Risk here is evidence, not an alarm. These findings come from static scanning of the docs; we never execute a project’s code.
限制LIMITS
需检查Needs review
静态扫描STATIC SCAN
01控制浏览器Controls a browserreadme
- **Browser memory leak detection** - Write test scenarios with the Puppeteer
02控制浏览器Controls a browserplugins/memlab/skills/memlab-capture-heap-snapshots/SKILL.md
**From Puppeteer or Playwright test code** (Chromium only): use a CDP session.
静态扫描发现一个中等风险:该工具能控制浏览器(通过 Puppeteer 编写测试场景)。使用时请注意,它可能会自动操作浏览器,确保在受控环境中使用。A static scan flagged a medium risk: Memlab controls a browser via Puppeteer for memory leak detection. This is expected behavior, but review the code if you have security concerns.
项目动态PROJECT ACTIVITY
首次发现FIRST SEEN
03 OCT 202603 OCT 2026
增长GROWTH
+0.4%+0.4%
5.1k → 5.1k stars · 31 个快照5.1k → 5.1k stars · 31 snapshots
状态STATUS
持续活跃Active
质量 A-Quality A-
近7天有34次提交,项目维护活跃Over 5,000 GitHub stars and active development
依赖:Dependencies:ansi, babar, blessed, chalk, fs-extra, minimist, puppeteer, string-width, util.promisify, xvfb
{
"agents": [
{
"agent": "claude-code",
"evidence": "tree: .claude-plugin/"
},
{
"agent": "windsurf",
"evidence": "readme: …istants (Claude Code, Cursor, Windsurf, etc.) interactive tools to e…"
},
{
"agent": "opencode",
"evidence": "readme: …`` **Other agents** (Cursor, opencode, and others): add the MCP ser…"
},
{
"agent": "copilot",
"evidence": "readme: …istants (Claude Code, Cursor, GitHub Copilot, ChatGPT, etc.) working with…"
}
],
"apiKey": null,
"docker": null,
"taxonomy": {
"scores": {
"design": 0,
"ai-tools": 1,
"dev-tools": 3,
"indie-web": 0,
"skill-agent": 1,
"productivity": 0
},
"primary": "dev-tools",
"secondary": "coding-agent"
},
"localRuntime": null,
"skillMdTotal": 4,
"skillMdErrors": [],
"treeTruncated": false,
"categoryScores": {
"data": 0,
"agent": 0,
"media": 0,
"design": 0,
"browser": 1,
"devtool": 3,
"security": 0,
"marketing": 0,
"productivity": 0
},
"classification": [
{
"signal": "4 SKILL.md with name + description",
"weight": 0.95
},
{
"signal": "README describes a Claude / Agent Skill",
"weight": 0.7
},
{
"signal": "Claude Code plugin manifest",
"weight": 0.7
},
{
"signal": ".mcp.json (configures servers it uses)",
"weight": 0.3
}
],
"scannedSources": [
"readme",
"plugins/memlab/skills/memlab-analyze-heap-snapshot/SKILL.md",
"plugins/memlab/skills/memlab-capture-heap-snapshots/SKILL.md",
"plugins/memlab/skills/memlab-find-web-leaks/SKILL.md",
"plugins/memlab/skills/memlab-memory-tests/SKILL.md"
],
"skillMdFetched": 4
}