{"_id":"@apitreedev/cli","_rev":"2-959fde200a7830178d60d684e8eb5f99","name":"@apitreedev/cli","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@apitreedev/cli","version":"0.1.0","keywords":["apitree","cli","api","ai-agent","mcp"],"license":"MIT","_id":"@apitreedev/cli@0.1.0","maintainers":[{"name":"apitree-dev","email":"dev@apitree.ai"}],"homepage":"https://github.com/ApitreeDev/nexus#readme","bugs":{"url":"https://github.com/ApitreeDev/nexus/issues"},"bin":{"apitree":"dist/index.js"},"dist":{"shasum":"e824cdbb0a482a5f2a7f774d834161e709721caa","tarball":"https://registry.npmjs.org/@apitreedev/cli/-/cli-0.1.0.tgz","fileCount":10,"integrity":"sha512-bgp3vx/xmMyjsz0NYyCBTMkCh6JiBsV7qroy2CoQc3gqzs+wGO0jThXjbCK0BIMXi/3nf4FBECd/ptK4RT+Fmw==","signatures":[{"sig":"MEUCIQD2TiSYTfgP/bGWH/6lSbgWKKFXYuP0e1Sf6OyQB81aeAIgQUFwGoG1yrsOCkRlDRN7WTSUt32KLiou0Kg67PtCObE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52388},"type":"module","gitHead":"1e688eb7c5fdfd76df714cbb27b68c9fbb801627","scripts":{"dev":"tsx src/index.ts","build":"tsc","typecheck":"tsc --noEmit","publish:npm":"npm publish --access public","prepublishOnly":"pnpm build"},"_npmUser":{"name":"apitree-dev","email":"dev@apitree.ai"},"repository":{"url":"git+https://github.com/ApitreeDev/nexus.git","type":"git","directory":"packages/cli"},"_npmVersion":"11.9.0","description":"apitree CLI — search, call, and manage APIs from the terminal. 1,300+ APIs, one command.","directories":{},"_nodeVersion":"25.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","typescript":"^5.5.0","@types/node":"^20.0.0","@apitree/tsconfig":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.0_1783997456935_0.38489132354745914","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@apitreedev/cli","version":"0.1.1","description":"apitree CLI — search, call, and manage APIs from the terminal.","type":"module","bin":{"apitree":"dist/index.js"},"keywords":["apitree","cli","api","ai-agent","mcp"],"license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/ApitreeDev/nexus.git","directory":"packages/cli"},"devDependencies":{"@types/node":"^20.0.0","tsx":"^4.19.0","typescript":"^5.5.0","@apitree/tsconfig":"0.0.0"},"scripts":{"build":"tsc","dev":"tsx src/index.ts","typecheck":"tsc --noEmit","publish:npm":"npm publish --access public"},"_id":"@apitreedev/cli@0.1.1","bugs":{"url":"https://github.com/ApitreeDev/nexus/issues"},"homepage":"https://github.com/ApitreeDev/nexus#readme","_integrity":"sha512-A5mYfd5iHNDUdjlHFR5V9nB5wPPTfPQqShxZ0C3zUacPj1IBAMaYDn7T5yd+sHHwyOfOii8pUMHvCNCv+FyM1w==","_resolved":"/tmp/0261cdd42c75bb5835d0206ba03ceaf6/apitreedev-cli-0.1.1.tgz","_from":"file:apitreedev-cli-0.1.1.tgz","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-A5mYfd5iHNDUdjlHFR5V9nB5wPPTfPQqShxZ0C3zUacPj1IBAMaYDn7T5yd+sHHwyOfOii8pUMHvCNCv+FyM1w==","shasum":"ea97d5bb536f540f8000add5c42c229b92bf17e0","tarball":"https://registry.npmjs.org/@apitreedev/cli/-/cli-0.1.1.tgz","fileCount":10,"unpackedSize":51941,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDV+pV/fYkvBKbGnXewmLGh5/W4dQAr1g+qfAGN8sX1pwIgNPmzM11efDnZetUZ4ZBgeJY28gzpnp0KlQR49Km69QI="}]},"_npmUser":{"name":"apitree-dev","email":"dev@apitree.ai"},"directories":{},"maintainers":[{"name":"apitree-dev","email":"dev@apitree.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.1.1_1787298935033_0.6025652900917051"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-14T02:50:56.646Z","modified":"2026-08-21T07:55:35.356Z","0.1.0":"2026-07-14T02:50:57.123Z","0.1.1":"2026-08-21T07:55:35.187Z"},"bugs":{"url":"https://github.com/ApitreeDev/nexus/issues"},"license":"MIT","homepage":"https://github.com/ApitreeDev/nexus#readme","keywords":["apitree","cli","api","ai-agent","mcp"],"repository":{"type":"git","url":"git+https://github.com/ApitreeDev/nexus.git","directory":"packages/cli"},"description":"apitree CLI — search, call, and manage APIs from the terminal.","maintainers":[{"name":"apitree-dev","email":"dev@apitree.ai"}],"readme":"# @apitreedev/cli\n\napitree CLI — terminal access to the apitree API Marketplace. One command for the whole catalog.\n\n## Install\n\n```bash\nnpm install -g @apitreedev/cli\n```\n\n## Quick Start\n\n```bash\n# Search the catalog\napitree search weather\n\n# Call a free API (no auth required)\napitree call open-meteo-forecast --params '{\"latitude\":37.5,\"longitude\":127,\"current_weather\":true}'\n\n# Check marketplace stats\napitree stats\n\n# Check platform health\napitree health\n\n# With authentication — set APITREE_TOKEN env var\nexport APITREE_TOKEN=nxs_live_YOUR_KEY\napitree forecast\n```\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `search <query>` | Search catalog by name/description |\n| `call <slug>` | Call API through apitree proxy |\n| `migrate [dir]` | Scan project & generate a migration plan (`--apply`, `--dry-run`, `--from=`) |\n| `stats` | Marketplace totals (APIs, categories, providers) |\n| `health [slug]` | Platform or per-API health |\n| `forecast` | Credit burn rate (auth required) |\n| `help` | Show help |\n\n## Environment\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `APITREE_TOKEN` | (none) | Your apitree API key for authed calls |\n| `APITREE_API_URL` | prod URL | Override base URL |\n\n## License\n\nMIT\n","readmeFilename":"README.md"}