{"_id":"@asdsadw12312dwd2112xz/disk-usage-cli","name":"@asdsadw12312dwd2112xz/disk-usage-cli","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@asdsadw12312dwd2112xz/disk-usage-cli","version":"1.0.0","description":"Analyze disk usage from the terminal — prettier than du","type":"module","bin":{"disk-usage-cli":"dist/index.js"},"scripts":{"build":"tsup","dev":"tsup --watch"},"dependencies":{"chalk":"^5.3.0","commander":"^12.1.0"},"devDependencies":{"@types/node":"^20.14.0","tsup":"^8.1.0","typescript":"^5.5.0"},"gitHead":"eb0005d314714ab4cfbfc15d113838aa43d303d3","_id":"@asdsadw12312dwd2112xz/disk-usage-cli@1.0.0","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-7rLnggi18mrJZlrQ/2AOY4MRt3g7jzSIgF/l02jm6iy6D27WN9rLHN9OxkVtqoSUv1caCqZUfPLYLHGCpPcdWg==","shasum":"87288428317210c984823c2e4cfb179f2e074929","tarball":"https://registry.npmjs.org/@asdsadw12312dwd2112xz/disk-usage-cli/-/disk-usage-cli-1.0.0.tgz","fileCount":6,"unpackedSize":13828,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDw1/G/yfJsBdPsKIxNc+kL/8cjMjudf5MXncZO4uDJJAIgYDargSWCkwG6Z0smrQok1XmBkm+Nr+4+d1OxxxxgTdE="}]},"_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/disk-usage-cli_1.0.0_1775436233150_0.3525389852723466"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-06T00:43:53.078Z","1.0.0":"2026-04-06T00:43:53.436Z","modified":"2026-04-06T00:43:53.646Z"},"maintainers":[{"name":"asdsadw12312dwd2112xz","email":"okirmio@gmail.com"}],"description":"Analyze disk usage from the terminal — prettier than du","readme":"# disk-usage-cli\n\nA terminal disk usage analyzer — prettier and more ergonomic than `du`.\n\n## Features\n\n- 📁 Scans any directory recursively\n- 🔢 Sorts by size (largest first)\n- 🎨 Color-coded: green < 1 MB · yellow < 100 MB · red ≥ 100 MB\n- 📊 Visual bar chart per entry\n- 🔍 Limit depth with `--depth N`\n- 🏆 Show top N items with `--top N`\n- 🚫 Exclude patterns with `--exclude`\n- 🤖 JSON output with `--json`\n- 📝 Human-readable sizes (B / KB / MB / GB)\n\n## Install\n\n```bash\nnpm install -g disk-usage-cli\n```\n\nOr run directly after build:\n\n```bash\nnode dist/index.js [dir]\n```\n\n## Usage\n\n```\ndisk-usage-cli [dir] [options]\n\nArguments:\n  dir                  Directory to analyze (default: current directory)\n\nOptions:\n  -d, --depth <n>      Max directory depth (default: 1)\n  -t, --top <n>        Show only top N largest entries (default: 20)\n  -e, --exclude <...>  Exclude name patterns (space-separated)\n      --json           Output as JSON\n  -V, --version        Print version\n  -h, --help           Show help\n```\n\n## Examples\n\n```bash\n# Analyze current directory, depth 1\ndisk-usage-cli\n\n# Analyze /var/log, depth 2, show top 10\ndisk-usage-cli /var/log --depth 2 --top 10\n\n# Exclude node_modules and .git\ndisk-usage-cli --exclude node_modules .git\n\n# JSON output piped to jq\ndisk-usage-cli --json | jq '.entries[0]'\n```\n\n## Build\n\n```bash\nnpm install\nnpm run build\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-bd050583d9dfd7740918cbcaa31e6db2"}