{"_id":"@0sora9/drone-fyi-cli","name":"@0sora9/drone-fyi-cli","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@0sora9/drone-fyi-cli","version":"0.1.1","description":"Command-line client for the UAVs FYI / Drone FYI public data API","type":"module","bin":{"drone-fyi":"index.mjs"},"engines":{"node":">=18"},"keywords":["drone","uav","supply-chain","cli","ndaa"],"repository":{"type":"git","url":"git+https://github.com/0sora9/drone-fyi.git"},"license":"UNLICENSED","gitHead":"7605563c16b8bf8ad0e7a4bc07c2c1ea5bb266d6","_id":"@0sora9/drone-fyi-cli@0.1.1","bugs":{"url":"https://github.com/0sora9/drone-fyi/issues"},"homepage":"https://github.com/0sora9/drone-fyi#readme","_nodeVersion":"22.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-EQbFT4lE1cWA5KKFJJdSwMXagwyephfshJveWPbDuLMfKTktwxxdfEJNBhtFwxOZik9Nt4zIMmloj/N7djkd+g==","shasum":"d3f155ff02a0182a1210fd833b0f79ee8f947862","tarball":"https://registry.npmjs.org/@0sora9/drone-fyi-cli/-/drone-fyi-cli-0.1.1.tgz","fileCount":3,"unpackedSize":11382,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICt/XzsjF0H8X/QPs0k5f7QQE29ldE6SE+RZPkqCx+bMAiAuhL8fXzDVPFjj+aNHsY5AhWys7i50QJWVmus27FhsPg=="}]},"_npmUser":{"name":"0sora9","email":"sora.uetake.info@gmail.com"},"directories":{},"maintainers":[{"name":"0sora9","email":"sora.uetake.info@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/drone-fyi-cli_0.1.1_1783467654316_0.5933481878400513"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-07T23:40:54.164Z","0.1.1":"2026-07-07T23:40:54.440Z","modified":"2026-07-07T23:40:54.698Z"},"maintainers":[{"name":"0sora9","email":"sora.uetake.info@gmail.com"}],"description":"Command-line client for the UAVs FYI / Drone FYI public data API","homepage":"https://github.com/0sora9/drone-fyi#readme","keywords":["drone","uav","supply-chain","cli","ndaa"],"repository":{"type":"git","url":"git+https://github.com/0sora9/drone-fyi.git"},"bugs":{"url":"https://github.com/0sora9/drone-fyi/issues"},"license":"UNLICENSED","readme":"# drone-fyi CLI\n\nCommand-line client for the **UAVs FYI / Drone FYI** public data API\n(`https://www.uavs.fyi/api/v1`). Read-only, no API key, zero dependencies\n(Node 18+ built-in `fetch`).\n\n## Install\n\n```bash\n# global\nnpm install -g @0sora9/drone-fyi-cli\ndrone-fyi health\n\n# or run without installing\nnpx @0sora9/drone-fyi-cli companies --type=oem\n```\n\nRun straight from the repo without publishing:\n\n```bash\nnode cli/index.mjs companies --type=oem\n# or link it as `drone-fyi`\ncd cli && npm link\n```\n\n## Commands\n\n| Command | Description |\n|---|---|\n| `health` | API health check |\n| `stats` | Dataset counts |\n| `endpoints` | List every API endpoint |\n| `companies` | List models and suppliers |\n| `company <id>` | One company (e.g. `plt_09`) |\n| `components` | Component categories |\n| `relationships` | Supply relationships |\n| `supply-chain <platformId>` | A platform's suppliers and customers |\n| `factories`, `funding` | Secondary datasets |\n| `list <dataset>` | Any other dataset (`investors`, `production`, `vla-models`, …) |\n\n## Flags\n\n| Flag | Description |\n|---|---|\n| `--json` | Raw JSON instead of a formatted table |\n| `--base-url=<url>` | Override the API base (default `https://www.uavs.fyi`) |\n| `--type=oem\\|supplier` | Filter companies by type |\n| `--country=XX` | Filter by ISO country code |\n| `--to=<id>` / `--from=<id>` | Filter relationships |\n| `--sort=<field>` | Sort rows by a field |\n| `--limit=N` / `--offset=N` | Paginate |\n\n`DRONE_FYI_BASE_URL` env var also overrides the base.\n\n## Examples\n\n```bash\ndrone-fyi companies --type=oem --country=US\ndrone-fyi company plt_09\ndrone-fyi supply-chain plt_09\ndrone-fyi relationships --to=plt_09\ndrone-fyi companies --type=oem --json > models.json\n```\n\n## Notes\n\n- The CLI is a thin wrapper over the static JSON API; filtering/sorting happen\n  client-side.\n- 3D model assets are not exposed by the API yet, so they don't appear here.\n","readmeFilename":"README.md","_rev":"1-ed6c8ee70b35f2f00f79f68019579dd9"}