{"_id":"@asdsadw12312dwd2112xz/docker-clean-cli","name":"@asdsadw12312dwd2112xz/docker-clean-cli","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@asdsadw12312dwd2112xz/docker-clean-cli","version":"1.0.0","description":"Smart Docker cleanup tool — analyze and reclaim disk space","type":"module","bin":{"docker-clean-cli":"dist/index.js"},"main":"./dist/index.js","scripts":{"build":"tsup","dev":"tsup --watch","start":"node dist/index.js"},"dependencies":{"chalk":"^5.3.0","commander":"^12.1.0"},"devDependencies":{"@types/node":"^22.0.0","tsup":"^8.3.0","typescript":"^5.6.0"},"engines":{"node":">=18.0.0"},"keywords":["docker","cleanup","disk-space","cli","devops"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/okirmio-create/docker-clean-cli.git"},"gitHead":"23aeb5233b365101d9d8bc912cffaee6faebaa71","types":"./dist/index.d.ts","_id":"@asdsadw12312dwd2112xz/docker-clean-cli@1.0.0","bugs":{"url":"https://github.com/okirmio-create/docker-clean-cli/issues"},"homepage":"https://github.com/okirmio-create/docker-clean-cli#readme","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-Tvepi7sWHLQBH5uGqTNhqDoWzA5AIjlBLmy3mIMxI8ypxsq7XEHMwiZOHbfUShvXyylsn6QOpIoG3ZQqAj9VWA==","shasum":"3cf73a03622e3355b51c3799670549366240d0d2","tarball":"https://registry.npmjs.org/@asdsadw12312dwd2112xz/docker-clean-cli/-/docker-clean-cli-1.0.0.tgz","fileCount":5,"unpackedSize":50232,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD6sUIkuHzJOKdJfUi1zpcZTFArTprK3GtQh19ilmyV4gIgbpQzwAJAcn16uADXsL8s+ASBhAWaJ6fv1i96PsR4Xco="}]},"_npmUser":{"name":"asdsadw12312dwd2112xz","email":"okirmio@gmail.com"},"directories":{},"maintainers":[{"name":"asdsadw12312dwd2112xz","email":"okirmio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/docker-clean-cli_1.0.0_1775436240256_0.0009128080193478993"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-06T00:44:00.161Z","1.0.0":"2026-04-06T00:44:00.553Z","modified":"2026-04-06T00:44:00.770Z"},"maintainers":[{"name":"asdsadw12312dwd2112xz","email":"okirmio@gmail.com"}],"description":"Smart Docker cleanup tool — analyze and reclaim disk space","homepage":"https://github.com/okirmio-create/docker-clean-cli#readme","keywords":["docker","cleanup","disk-space","cli","devops"],"repository":{"type":"git","url":"git+https://github.com/okirmio-create/docker-clean-cli.git"},"bugs":{"url":"https://github.com/okirmio-create/docker-clean-cli/issues"},"license":"MIT","readme":"# docker-clean-cli\n\nSmart Docker cleanup tool — analyze and reclaim disk space with safety-first dry-run mode.\n\n## Install\n\n```bash\nnpm install -g docker-clean-cli\n# or use directly:\nnpx docker-clean-cli\n```\n\n## Usage\n\n```bash\n# Show disk usage analysis (safe, read-only)\nnpx docker-clean-cli\n\n# Remove all safe-to-clean items (dangling images, stopped containers, unused volumes/networks)\nnpx docker-clean-cli --clean\n\n# Selective cleanup\nnpx docker-clean-cli --images        # dangling images only\nnpx docker-clean-cli --containers    # stopped containers only\nnpx docker-clean-cli --volumes       # unused volumes only\n\n# Nuclear option: everything including build cache\nnpx docker-clean-cli --all\n\n# Age-based filtering\nnpx docker-clean-cli --clean --older-than 7d    # only items older than 7 days\nnpx docker-clean-cli --clean --older-than 24h   # older than 24 hours\nnpx docker-clean-cli --clean --older-than 2w    # older than 2 weeks\n\n# Dry-run: preview what would be deleted\nnpx docker-clean-cli --clean --dry-run\n\n# JSON output for scripting\nnpx docker-clean-cli --json\nnpx docker-clean-cli --clean --json\n```\n\n## Safety\n\n- **Dry-run is the default.** Running without `--clean` or `--all` only shows analysis.\n- Default networks (`bridge`, `host`, `none`) are never touched.\n- Running containers are never removed.\n- Volumes in use by containers are never removed.\n\n## What gets cleaned\n\n| Flag | Cleans |\n|------|--------|\n| `--containers` | Stopped/exited containers |\n| `--images` | Dangling (untagged) images |\n| `--volumes` | Volumes not attached to any container |\n| `--networks` | Custom networks not in use |\n| `--all` | All of the above + build cache |\n| `--clean` | Containers + images + volumes (no cache) |\n\n## License\n\nMIT © [okirmio-create](https://github.com/okirmio-create)\n","readmeFilename":"README.md","_rev":"1-745fa415b49f0bfdf1847a32a1e3eef5"}