Current collected state Current
Observed since 20 Oct, 15:53 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
AI-powered tool to scan and optimize Node.js code for performance.
AI Code Optimizer is a CLI tool that uses AI (OpenAI or Grok) to scan your Node.js codebase for performance issues and automatically suggests or applies fixes.
.env or .ai-optimizer-rc for flexible configuration.npm install -g ai-code-optimizer
Create a .env file in your project root:
# Choose your AI provider
AI_MODEL=grok # or openai
# API Keys
GROK_API_KEY=your_xai_api_key
# OPENAI_API_KEY=your_openai_api_key
# Optional: Specific Model Version
# GROK_MODEL=grok-2
To scan the current directory for issues:
ai-code-optimizer scan
The tool will analyze .js and .ts files, report issues, and offer to fix them.
ai-code-optimizer config
npm installnpm run dev (requires ts-node)ISC
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.1Registry latest | 12 Feb 2026 | 13 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 15:53 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:43073aa40ad8d96079c3d3335dfe53ece1db38e1b0fa261b89bc98b692fe7132