{"_id":"@allenmuu/mysql-cli","_rev":"6-438a9198223791aedafdbfbe3695888f","name":"@allenmuu/mysql-cli","dist-tags":{"latest":"2.1.0"},"versions":{"1.1.0":{"name":"@allenmuu/mysql-cli","version":"1.1.0","license":"MIT","_id":"@allenmuu/mysql-cli@1.1.0","maintainers":[{"name":"allenmuu","email":"allenqiao666@gmail.com"}],"homepage":"https://github.com/AllenMuu/mysql-cli#readme","bugs":{"url":"https://github.com/AllenMuu/mysql-cli/issues"},"bin":{"mysql-cli":"bin/mysql-cli.js"},"dist":{"shasum":"c01c56ff9689dc3c7e5650b073e252b7e354dc7f","tarball":"https://registry.npmjs.org/@allenmuu/mysql-cli/-/mysql-cli-1.1.0.tgz","fileCount":4,"integrity":"sha512-46asu0qrE747iL553zMDVpH4dRzV/eT9KdqpXPrJHQf7pS7QbYF+sRrHFRwhyF0TDEkKR3QJMiFMiybnA54vvQ==","signatures":[{"sig":"MEQCIAUzAntKm1p4CnqRmfwM8eCvi1pR4zGlCqydjI1YAjfAAiAbpEMUfUya4VaMhovJGDJihsoRV9LWhh4XZ/KTmLEZIg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8021},"engines":{"node":">=18"},"gitHead":"8b158171057f4f2273a14f562859eb872c4436ea","scripts":{"test":"node --test","postinstall":"node install.js"},"_npmUser":{"name":"allenmuu","email":"allenqiao666@gmail.com"},"repository":{"url":"git+https://github.com/AllenMuu/mysql-cli.git","type":"git"},"_npmVersion":"10.8.2","description":"One-line install of mysql-cli (Go binary) for AI agents: npx @allenmuu/mysql-cli install","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mysql-cli_1.1.0_1784859885457_0.9602912173188778","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@allenmuu/mysql-cli","version":"1.2.0","license":"MIT","_id":"@allenmuu/mysql-cli@1.2.0","maintainers":[{"name":"allenmuu","email":"allenqiao666@gmail.com"}],"homepage":"https://github.com/AllenMuu/mysql-cli#readme","bugs":{"url":"https://github.com/AllenMuu/mysql-cli/issues"},"bin":{"mysql-cli":"bin/mysql-cli.js"},"dist":{"shasum":"1fb8bab0b305cfc72eee140a789111ead720d69d","tarball":"https://registry.npmjs.org/@allenmuu/mysql-cli/-/mysql-cli-1.2.0.tgz","fileCount":4,"integrity":"sha512-jDiih0cEbmBTEGxG5xE0PFrJPFtRjjuT7vU/ul4E/eJ3auwb3NP4XegwngZNFbb5vzPo5RJMSis4fs24s8NZJQ==","signatures":[{"sig":"MEUCIA12fnp+fpvT42RCraIzET7Zi9rMQyl0zoZImKq18Yf+AiEAnbDY8ceBIZ19QXK/tz+1VX2xCQpwrz6+6OH+IMBYBXw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8021},"engines":{"node":">=18"},"gitHead":"6207a79b0711f22dfc3544bdf5cd592ae8c2426f","scripts":{"test":"node --test","postinstall":"node install.js"},"_npmUser":{"name":"allenmuu","email":"allenqiao666@gmail.com"},"repository":{"url":"git+https://github.com/AllenMuu/mysql-cli.git","type":"git"},"_npmVersion":"11.16.0","description":"One-line install of mysql-cli (Go binary) for AI agents: npx @allenmuu/mysql-cli install","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mysql-cli_1.2.0_1784861926205_0.788516057143706","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@allenmuu/mysql-cli","version":"2.0.0","license":"MIT","_id":"@allenmuu/mysql-cli@2.0.0","maintainers":[{"name":"allenmuu","email":"allenqiao666@gmail.com"}],"homepage":"https://github.com/AllenMuu/mysql-cli#readme","bugs":{"url":"https://github.com/AllenMuu/mysql-cli/issues"},"bin":{"mysql-cli":"bin/mysql-cli.js"},"dist":{"shasum":"80344453e109df40f6e5c14ba0c85b01407d071f","tarball":"https://registry.npmjs.org/@allenmuu/mysql-cli/-/mysql-cli-2.0.0.tgz","fileCount":4,"integrity":"sha512-lQG+r5XXr8OjLDEPKe09bA9ivN6ECHBXDlGWItHnXdckwVaJLAnD4dp23Rp5A0Kg0M9sJG+hPqprtFk6k9AS9Q==","signatures":[{"sig":"MEYCIQCkYXhNvgLAmxg2m3N8OTcktHHcOAmV/Lyiz1D/GR1rugIhAL1HuzcvnWg13YpZsRGnu20nFQEReMEMlESeGMIb2nC1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8016},"engines":{"node":">=18"},"gitHead":"9c17ec6619422d2d912f21d61fa0e624594ed73d","scripts":{"test":"node --test","postinstall":"node install.js"},"_npmUser":{"name":"allenmuu","email":"allenqiao666@gmail.com"},"repository":{"url":"git+https://github.com/AllenMuu/mysql-cli.git","type":"git"},"_npmVersion":"11.16.0","description":"One-line install of mysql-cli (Go binary) for AI agents: npx @allenmuu/mysql-cli install","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mysql-cli_2.0.0_1785154347644_0.18062984737088272","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@allenmuu/mysql-cli","version":"2.0.1","license":"MIT","_id":"@allenmuu/mysql-cli@2.0.1","maintainers":[{"name":"allenmuu","email":"allenqiao666@gmail.com"}],"homepage":"https://github.com/AllenMuu/mysql-cli#readme","bugs":{"url":"https://github.com/AllenMuu/mysql-cli/issues"},"bin":{"mysql-cli":"bin/mysql-cli.js"},"dist":{"shasum":"d2b930fb10d1c80a0b33d7c28c8ee2ed8cd9fed2","tarball":"https://registry.npmjs.org/@allenmuu/mysql-cli/-/mysql-cli-2.0.1.tgz","fileCount":4,"integrity":"sha512-iSrOTl3flCpqGEkcFOREQCy8ESxp54aIAJVlJMKaxAxgGRf8l9yXK83Bebn+/MY4M+/o+TJxTCEL36IzOClKHQ==","signatures":[{"sig":"MEQCICh1UUf9eyYM3wS8jSszckd4PRpb7ezIzDdA+zZoaTxKAiAcxEp19KHs3aEHvkvAx9mOWYSNd1f4sFwhhPbbe3VIhg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8016},"engines":{"node":">=18"},"gitHead":"1c8dbe335fb431bf95c1c7acf8a1006a35c4a019","scripts":{"test":"node --test","postinstall":"node install.js"},"_npmUser":{"name":"allenmuu","email":"allenqiao666@gmail.com"},"repository":{"url":"git+https://github.com/AllenMuu/mysql-cli.git","type":"git"},"_npmVersion":"11.16.0","description":"One-line install of mysql-cli (Go binary) for AI agents: npx @allenmuu/mysql-cli install","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mysql-cli_2.0.1_1785497878725_0.18488041837017843","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@allenmuu/mysql-cli","version":"2.0.2","license":"MIT","_id":"@allenmuu/mysql-cli@2.0.2","maintainers":[{"name":"allenmuu","email":"allenqiao666@gmail.com"}],"homepage":"https://github.com/AllenMuu/mysql-cli#readme","bugs":{"url":"https://github.com/AllenMuu/mysql-cli/issues"},"bin":{"mysql-cli":"bin/mysql-cli.js"},"dist":{"shasum":"6efb1762bf08a60019fdffb5edfb7dd92f4c72ed","tarball":"https://registry.npmjs.org/@allenmuu/mysql-cli/-/mysql-cli-2.0.2.tgz","fileCount":4,"integrity":"sha512-PcWBqeyJCwj81JyCY24eK5JXOcCrWd3q715UJCZ5P3IJfgc2gwJ5OAHJwEkJVR9vmE/l9zJBIOwmTjjx/lcd+Q==","signatures":[{"sig":"MEUCIHT2XKCFsNZ9Ob1x9XdJigcKeXmLKRJuT7dhf7QErojbAiEAvlphE8HX/efYI0SfoYAKFsXILbg/PHLTAZI8fITlx0g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8016},"engines":{"node":">=18"},"gitHead":"96f4226302e48fa5b225a88ab937db412724228d","scripts":{"test":"node --test","postinstall":"node install.js"},"_npmUser":{"name":"allenmuu","email":"allenqiao666@gmail.com"},"repository":{"url":"git+https://github.com/AllenMuu/mysql-cli.git","type":"git"},"_npmVersion":"11.16.0","description":"One-line install of mysql-cli (Go binary) for AI agents: npx @allenmuu/mysql-cli install","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mysql-cli_2.0.2_1786021770012_0.7220782023545587","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@allenmuu/mysql-cli","version":"2.1.0","description":"One-line install of mysql-cli (Go binary) for AI agents: npx @allenmuu/mysql-cli install","bin":{"mysql-cli":"bin/mysql-cli.js"},"scripts":{"postinstall":"node install.js","test":"node --test"},"engines":{"node":">=18"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AllenMuu/mysql-cli.git"},"gitHead":"9ce583ca69ecd379057de17fe1f300971e648f17","_id":"@allenmuu/mysql-cli@2.1.0","bugs":{"url":"https://github.com/AllenMuu/mysql-cli/issues"},"homepage":"https://github.com/AllenMuu/mysql-cli#readme","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-veJQrC1vgeKFo35UNWABL4lhOo5yN8zEeHittyhUi/6E+BWMg7LCxyaYOsbbsi1HquFb5W8HxQNZNG+kWer1eQ==","shasum":"100f5e766fbfb9b17042ed82155a9ce4f7392752","tarball":"https://registry.npmjs.org/@allenmuu/mysql-cli/-/mysql-cli-2.1.0.tgz","fileCount":4,"unpackedSize":8016,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCfZFLxxkNPlrCvd/D8eaCGhMmEvnj7BfRVZ1uJ++wSPgIhAPCkelNa7yXgb4l2ylf+Kx6Dd/aAEz89esy8tJtbmgmF"}]},"_npmUser":{"name":"allenmuu","email":"allenqiao666@gmail.com"},"directories":{},"maintainers":[{"name":"allenmuu","email":"allenqiao666@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mysql-cli_2.1.0_1786526151739_0.47663052909349335"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-24T02:24:45.281Z","modified":"2026-08-12T09:15:52.062Z","1.1.0":"2026-07-24T02:24:45.587Z","1.2.0":"2026-07-24T02:58:46.350Z","2.0.0":"2026-07-27T12:12:27.775Z","2.0.1":"2026-07-31T11:37:58.855Z","2.0.2":"2026-08-06T13:09:30.157Z","2.1.0":"2026-08-12T09:15:51.877Z"},"bugs":{"url":"https://github.com/AllenMuu/mysql-cli/issues"},"license":"MIT","homepage":"https://github.com/AllenMuu/mysql-cli#readme","repository":{"type":"git","url":"git+https://github.com/AllenMuu/mysql-cli.git"},"description":"One-line install of mysql-cli (Go binary) for AI agents: npx @allenmuu/mysql-cli install","maintainers":[{"name":"allenmuu","email":"allenqiao666@gmail.com"}],"readme":"# @allenmuu/mysql-cli\n\nOne-line install of the [mysql-cli](https://github.com/AllenMuu/mysql-cli) Go binary for AI agents.\n\n## Install\n\n```bash\nnpx @allenmuu/mysql-cli install      # installs the binary to ~/.local/bin\nmysql-cli config init                  # initialises config (auto-detected)\n```\n\nNo Go toolchain required. The `install` command downloads the prebuilt binary for your platform from GitHub Releases.\n\n## One-shot usage (no permanent install)\n\n```bash\nnpx @allenmuu/mysql-cli config init  # initialises config (same as above)\nnpx @allenmuu/mysql-cli config list  # list configured datasources\nnpx @allenmuu/mysql-cli query \"SELECT 1\" -d mydb\n```\n\n## Mirror (GFW-friendly)\n\nSet `MYSQL_CLI_MIRROR` to a mirror of the GitHub Releases download path:\n\n```bash\nMYSQL_CLI_MIRROR=https://ghproxy.com/https://github.com/AllenMuu/mysql-cli/releases/download npx @allenmuu/mysql-cli install\n```\n\n## License\n\nMIT (matches the upstream repo).","readmeFilename":"README.md"}