{"_id":"@dixiewebcoethan/ai-code-review","name":"@dixiewebcoethan/ai-code-review","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dixiewebcoethan/ai-code-review","version":"1.0.0","description":"AI-powered code review CLI","type":"module","bin":{"review":"bin/review.js"},"engines":{"node":">=18.0.0"},"scripts":{"dev":"SKIP_LICENSE=1 node bin/review.js","test":"SKIP_LICENSE=1 node bin/review.js ."},"dependencies":{"@anthropic-ai/sdk":"^0.36.0","chalk":"^5.3.0","commander":"^12.1.0","glob":"^10.4.0","ora":"^8.1.0"},"_id":"@dixiewebcoethan/ai-code-review@1.0.0","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-KuFONcBXirRDSv6su2XGkSugfYvM2CZVzUouJtEDI9hfFxs9YIuomLsKHQLjU2R6bfppZyQNjTRJf3Jpf8XFGw==","shasum":"b79a91744d10643f52aec9a95c49ce01e30fa11f","tarball":"https://registry.npmjs.org/@dixiewebcoethan/ai-code-review/-/ai-code-review-1.0.0.tgz","fileCount":9,"unpackedSize":21509,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCfylo73AZq2DLxYwhOEwO07RC6Yohjv2LenOrsi/IExwIgJ7dtyHyOH7+XOctK/Vow6gHqSaJukJM/kMkEfygIqKY="}]},"_npmUser":{"name":"dixiewebcoethan","email":"ethanbjones01@gmail.com"},"directories":{},"maintainers":[{"name":"dixiewebcoethan","email":"ethanbjones01@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ai-code-review_1.0.0_1780198764192_0.5627187847426975"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-31T03:39:24.009Z","1.0.0":"2026-05-31T03:39:24.367Z","modified":"2026-05-31T03:39:24.538Z"},"maintainers":[{"name":"dixiewebcoethan","email":"ethanbjones01@gmail.com"}],"description":"AI-powered code review CLI","readme":"# AI Code Review CLI\n\nAI-powered code review that runs in your terminal in seconds.\nCatches bugs, security issues, performance problems, and style issues — powered by Claude.\n\n```\n$ review src/\n\n  AI Code Review  4 files  \n\nsrc/auth.js\n  One sentence assessment.\n\n  HIGH  🔒  Unsanitized input passed to SQL query · line 42\n       The 'email' variable is interpolated directly into the query...\n       → Use a parameterized query: db.query('SELECT * FROM users WHERE email = ?', [email])\n\n  MED   🐛  Missing null check before accessing user.profile · line 87\n       ...\n\n4 files · 3 issues   2 high  1 medium  0 low\n\n⚠  Fix 2 high-severity issues before shipping.\n```\n\n---\n\n## Setup (for buyers)\n\n### 1. Install\n\n```sh\nnpm install -g ai-code-review\n```\n\n### 2. Set your Anthropic API key\n\n```sh\nexport ANTHROPIC_API_KEY=sk-ant-...\n```\n\nAdd this to your `~/.zshrc` or `~/.bashrc` to make it permanent.\n\n> Get a free API key at [console.anthropic.com](https://console.anthropic.com).\n> Reviews cost roughly $0.01–0.05 per run depending on codebase size.\n\n### 3. Activate your license\n\n```sh\nreview activate YOUR-LICENSE-KEY\n```\n\nYour license key is in the purchase confirmation email from Gumroad.\n\n---\n\n## Usage\n\n```sh\nreview .                  # Review all code files in the current directory\nreview src/               # Review a specific folder\nreview src/auth.js        # Review a single file\nreview --diff             # Review only staged git changes\n```\n\n### Ignore files\n\nCreate a `.reviewignore` in your project root (same syntax as `.gitignore`):\n\n```\ntests/\nfixtures/\n*.generated.js\n```\n\n---\n\n## For Developers (building from source)\n\n```sh\ngit clone ...\ncd ai-code-review\nnpm install\n\n# Fill in your Gumroad product ID in src/config.js\n\n# Dev mode (no license check):\nSKIP_LICENSE=1 ANTHROPIC_API_KEY=sk-ant-... node bin/review.js .\n```\n\n---\n\n## FAQ\n\n**What models does this use?**\nClaude Sonnet 4 via the Anthropic API.\n\n**How much does the API cost?**\nRoughly $0.01–0.05 per review run. You manage your own API key.\n\n**Is my code sent anywhere besides Anthropic?**\nNo. Files are sent only to the Anthropic API for review.\n\n**Does it work on large monorepos?**\nYes — files are reviewed in batches. It stops at 25 files by default (configurable in `src/config.js`).\n","readmeFilename":"README.md","_rev":"1-9d278595d7d81f0f73a99e26223590ee"}