{"_id":"@codecapo/max","_rev":"4-6b2608ac3d66524c53a5f3f8f3a53122","name":"@codecapo/max","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@codecapo/max","version":"0.1.0","keywords":[],"author":"","license":"ISC","_id":"@codecapo/max@0.1.0","maintainers":[{"name":"codecapo","email":"iam@guna.dev"}],"bin":{"max":"index.js"},"dist":{"shasum":"b729172d75f5750476cc2681526a73a235be9868","tarball":"https://registry.npmjs.org/@codecapo/max/-/max-0.1.0.tgz","fileCount":8,"integrity":"sha512-oZSfhtxz+IsP0aDHlEXM1OZ2KzZsUiz9jzRhjvJJvRVl+msM2QbIHsdHA4wGdQWqgebv51l3CTUJ7jj2sREWww==","signatures":[{"sig":"MEYCIQDPqVg9G9lbRcpMWGsCSyDuimRDPJ0PGMfi/r55dY6+XQIhAOj1rgtiknRCt8sooDKu0d590J8FpagcMr02ltMoJrIZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8622},"main":"index.js","type":"module","gitHead":"1f3461fedd85c52011dbd89f1c93e33f40ae7432","scripts":{"test":"vitest","build":"tsc"},"_npmUser":{"name":"codecapo","email":"iam@guna.dev"},"_npmVersion":"10.8.2","description":"","directories":{},"_nodeVersion":"20.19.4","dependencies":{"cac":"^6.7.14","ora":"^8.2.0","execa":"^9.6.0","kleur":"^4.1.5","fast-glob":"^3.3.3","cli-table3":"^0.6.5","tree-sitter":"^0.25.0"},"_hasShrinkwrap":false,"devDependencies":{"tree-sitter-javascript":"^0.23.1"},"_npmOperationalInternal":{"tmp":"tmp/max_0.1.0_1756407849603_0.8386697419458138","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@codecapo/max","version":"0.1.1","keywords":[],"author":"","license":"ISC","_id":"@codecapo/max@0.1.1","maintainers":[{"name":"codecapo","email":"iam@guna.dev"}],"bin":{"max":"index.js"},"dist":{"shasum":"0a2a6125df7f0a04a5f59bc59e94fe70c30b2a72","tarball":"https://registry.npmjs.org/@codecapo/max/-/max-0.1.1.tgz","fileCount":8,"integrity":"sha512-9AgKGirsNtPvDU8ri26w0dCWq0VxfC9y5UZC3u69a6+hb9Zy7gAA2YbPAi7WBjmBu7s3NV05EBTwSUje/iG1Fw==","signatures":[{"sig":"MEUCIQDHYGz+AoWkR8H0Yvw3uMvqNIWdf31FxMvrBCAnjRn35QIgTfHw60FTFGYie1yWHBZhzbd8Eu2BNme6vI4R1Iljo2Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8730},"main":"index.js","type":"module","gitHead":"efa312e58dc869394dcf8a4f768d28c502f9f724","scripts":{"test":"vitest","build":"tsc"},"_npmUser":{"name":"codecapo","email":"iam@guna.dev"},"_npmVersion":"10.8.2","description":"","directories":{},"_nodeVersion":"20.19.4","dependencies":{"cac":"^6.7.14","ora":"^8.2.0","execa":"^9.6.0","kleur":"^4.1.5","fast-glob":"^3.3.3","cli-table3":"^0.6.5","tree-sitter":"^0.25.0","tree-sitter-javascript":"^0.23.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/max_0.1.1_1756408652151_0.06468842507240713","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@codecapo/max","version":"0.1.2","keywords":[],"author":"","license":"ISC","_id":"@codecapo/max@0.1.2","maintainers":[{"name":"codecapo","email":"iam@guna.dev"}],"bin":{"max":"index.js"},"dist":{"shasum":"c4b7b3e4a1baa8c820cb5e475ab361f6301cbcfd","tarball":"https://registry.npmjs.org/@codecapo/max/-/max-0.1.2.tgz","fileCount":8,"integrity":"sha512-VFjyEZx7ZdcvmhYyK3vBpVQsTH3nd7+WPmjwGI0Mj7MYlY0CFMp5iGu2vqFkfSBpT7t4zsAyx15wpi/lokU4Xg==","signatures":[{"sig":"MEYCIQDNvo2RAHXudmWZF390PYpHa8Aa8/nL4h6zsQJqMAnrPgIhAM/ynk6ceUjSGF4t91l76DA02NOVBP16jzTHsKQC+Bnn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8913},"main":"index.js","type":"module","gitHead":"c0f54251eb8092bab4e07d1ab96a706b729f6307","scripts":{"test":"vitest","build":"tsc"},"_npmUser":{"name":"codecapo","email":"iam@guna.dev"},"_npmVersion":"10.8.2","description":"","directories":{},"_nodeVersion":"20.19.4","dependencies":{"cac":"^6.7.14","ora":"^8.2.0","execa":"^9.6.0","kleur":"^4.1.5","fast-glob":"^3.3.3","cli-table3":"^0.6.5","tree-sitter":"^0.25.0","tree-sitter-javascript":"^0.23.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/max_0.1.2_1756408967017_0.41899361303203775","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@codecapo/max","version":"0.1.3","main":"index.js","type":"module","bin":{"max":"index.js"},"scripts":{"build":"tsc","test":"vitest"},"keywords":[],"author":"","license":"ISC","description":"","dependencies":{"cac":"^6.7.14","cli-table3":"^0.6.5","execa":"^9.6.0","fast-glob":"^3.3.3","kleur":"^4.1.5","ora":"^8.2.0","tree-sitter":"^0.25.0","tree-sitter-javascript":"^0.23.1"},"_id":"@codecapo/max@0.1.3","gitHead":"58cc8832a2391a526a1b30357035a52d96e3bcda","_nodeVersion":"20.19.4","_npmVersion":"10.8.2","dist":{"integrity":"sha512-RZybys+53aX5Ak7MMFUSKNOAXZkVR6kz+lBkPU143t0VAtb+6nyAx8Nrq93yEK5EJ43/CpwoLsS32lFiyRVl3A==","shasum":"562856a8a7ff43da05d3d31d9eb26754ceb1133b","tarball":"https://registry.npmjs.org/@codecapo/max/-/max-0.1.3.tgz","fileCount":10,"unpackedSize":11056,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDmv7/dIw42UQ+KkirZpPqK4Md87lyGlVKpML0o5o2TsQIhAItIOgGRelUTx+znK5ipfj6YINxcBhB9ch4UknetEIyJ"}]},"_npmUser":{"name":"codecapo","email":"iam@guna.dev"},"directories":{},"maintainers":[{"name":"codecapo","email":"iam@guna.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/max_0.1.3_1756410601038_0.6870053994778358"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-28T19:04:09.172Z","modified":"2025-08-28T19:50:01.396Z","0.1.0":"2025-08-28T19:04:09.799Z","0.1.1":"2025-08-28T19:17:32.350Z","0.1.2":"2025-08-28T19:22:47.230Z","0.1.3":"2025-08-28T19:50:01.216Z"},"license":"ISC","keywords":[],"maintainers":[{"name":"codecapo","email":"iam@guna.dev"}],"readme":"# Max (`@codecapo/max`)\n\n\n\n[![npm version](https://img.shields.io/npm/v/@codecapo/max.svg)](https://www.npmjs.com/package/@codecapo/max)\n[![npm downloads](https://img.shields.io/npm/dt/@codecapo/max.svg)](https://www.npmjs.com/package/@codecapo/max)\n[![License: MIT](https://img.shields.io/npm/l/@codecapo/max.svg)](https://opensource.org/licenses/MIT)\n\n**The package manager with the prune command we always wanted.** Max is a fast, local-first tool that safely finds and removes unused dependencies from your `node_modules`.\n\n---\n\n## Why Max?\n\nThe Node.js ecosystem is powerful, but `node_modules` bloat is a chronic problem. It wastes disk space, increases security risks, and complicates maintenance. Existing tools only prune \"extraneous\" packages, not declared-but-unused ones.\n\nMax solves this by:\n* **🧠 Using AST Parsing:** It reads your code to understand which modules are *actually* used, providing near-perfect accuracy.\n* **🛡️ Being Safe by Default:** The `prune` command is a dry-run by default. It will never delete anything without your explicit `--apply` command.\n* **🌍 Being Local-First:** No accounts, no cloud, no telemetry. It's a tool that runs on your machine, for your machine.\n\n## Supported Frameworks\n\nMax is built to be intelligent. It automatically detects the following projects and applies a set of rules to avoid incorrectly pruning their essential dependencies:\n\n* Next.js\n* Vite\n* Astro\n* Generic Node.js\n\n*Support for more frameworks (like SvelteKit, Remix, etc.) is coming soon!*\n\n## Installation\n\n```bash\nnpm install -g @codecapo/max\n```\n## Usage\n\nNavigate to your project directory and run the prune command.\n\n1. Dry Run (See what's unused)\nThis is the default command. It's 100% safe and will only report what it finds.\n\n```\nBash\n\nmax prune\n\n```\n\n2. Apply (Remove unused packages)\nTo permanently remove the unused dependencies, use the --apply flag.\n\n```\nBash\n\nmax prune --apply\n\n```\n\n## Contributing\nWe'd love your help! Please see our CONTRIBUTING.md to get started.","readmeFilename":"README.md"}