{"_id":"@1amlabs/tree-visualizer","_rev":"7-cfc807f7e4b17582a9e0f0175ac01ac2","name":"@1amlabs/tree-visualizer","dist-tags":{"latest":"1.1.2"},"versions":{"1.0.0":{"name":"@1amlabs/tree-visualizer","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"@1amlabs/tree-visualizer@1.0.0","maintainers":[{"name":"ilostmymedic","email":"martin.johansen.98@outlook.com"}],"bin":{"tree-visualizer":"dist/cli.js"},"dist":{"shasum":"d939a2e418926503d375c485d4f04d9c778964c4","tarball":"https://registry.npmjs.org/@1amlabs/tree-visualizer/-/tree-visualizer-1.0.0.tgz","fileCount":19,"integrity":"sha512-4OjE3b6fyu8qk3mdYZG7nTQIAqEY9vY9GuqgM7vvemH6242LKxSHcyu6/HCfyPNAhOJKlhvmvu/pF9cSJPC4Kw==","signatures":[{"sig":"MEQCIGpNQcmX/qMo2f/sqRHZDHwXmhARSLcyUGGQRfZswK3JAiA3qe21YP5jWKzj3B8Nvji9sIfuNqMfBWXDQn2N3E7b+g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20888},"main":"dist/cli.js","type":"module","gitHead":"c66bd397ca4e50ac794ad2d5ee36494520416707","scripts":{"dev":"tsx src/cli.ts","test":"echo \"No tests yet\" && exit 0","build":"tsc"},"_npmUser":{"name":"ilostmymedic","actor":{"name":"ilostmymedic","type":"user","email":"martin.johansen.98@outlook.com"},"email":"martin.johansen.98@outlook.com"},"_npmVersion":"10.9.2","description":"[![Build Status](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml/badge.svg)](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml)\r [![NPM version](https://img.shields.io/npm/v/tree-visualizer.svg)](https://www","directories":{},"_nodeVersion":"22.16.0","dependencies":{"chalk":"^4.1.2","mock-fs":"^5.5.0","commander":"^14.0.0","minimatch":"^10.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","jest":"^30.0.0","ts-jest":"^29.4.0","typescript":"^5.8.3","@types/jest":"^30.0.0","@types/node":"^24.0.3","@types/chalk":"^0.4.31","@types/mock-fs":"^4.13.4","@types/commander":"^2.12.0","@types/minimatch":"^5.1.2"},"_npmOperationalInternal":{"tmp":"tmp/tree-visualizer_1.0.0_1750161832138_0.66186070983723","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@1amlabs/tree-visualizer","version":"1.0.1","keywords":[],"author":"","license":"ISC","_id":"@1amlabs/tree-visualizer@1.0.1","maintainers":[{"name":"ilostmymedic","email":"martin.johansen.98@outlook.com"}],"homepage":"https://github.com/1AMLabs/tree-visualizer#readme","bugs":{"url":"https://github.com/1AMLabs/tree-visualizer/issues"},"bin":{"tree-visualizer":"dist/cli.js"},"dist":{"shasum":"f31d7e6789f2fd1495faf8ff1e95ea28ac406483","tarball":"https://registry.npmjs.org/@1amlabs/tree-visualizer/-/tree-visualizer-1.0.1.tgz","fileCount":19,"integrity":"sha512-II7oBeLQTQp8bWNKgtAM4c1Byxbm0bqWwcxAVeZoPa6UOKzeJ7ZuyiLwK5i4FFx7sqSE31z0qaqszMYpNcBkyA==","signatures":[{"sig":"MEQCIAxm7V6IRSEgAfhz9D/Z0bu7NSc1AJ7lBF4qBWSnXii8AiBvZ85Lm+zZcGfw4Zg8V4G04TiCfptWMuL2bAZ+QTzhHA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21212},"main":"dist/cli.js","type":"module","gitHead":"7aa417988542fa5f1e5bd7aa549711c55f22b3b2","scripts":{"dev":"tsx src/cli.ts","test":"echo \"No tests yet\" && exit 0","build":"tsc"},"_npmUser":{"name":"ilostmymedic","actor":{"name":"ilostmymedic","type":"user","email":"martin.johansen.98@outlook.com"},"email":"martin.johansen.98@outlook.com"},"repository":{"url":"git+https://github.com/1AMLabs/tree-visualizer.git","type":"git"},"_npmVersion":"10.9.2","description":"[![Build Status](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml/badge.svg)](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml)\r [![NPM version](https://img.shields.io/npm/v/@1amlabs/tree-visualizer.svg)](ht","directories":{},"_nodeVersion":"22.16.0","dependencies":{"chalk":"^4.1.2","mock-fs":"^5.5.0","commander":"^14.0.0","minimatch":"^10.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","jest":"^30.0.0","ts-jest":"^29.4.0","typescript":"^5.8.3","@types/jest":"^30.0.0","@types/node":"^24.0.3","@types/chalk":"^0.4.31","@types/mock-fs":"^4.13.4","@types/commander":"^2.12.0","@types/minimatch":"^5.1.2"},"_npmOperationalInternal":{"tmp":"tmp/tree-visualizer_1.0.1_1750162082660_0.014234503883101324","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@1amlabs/tree-visualizer","version":"1.0.2","keywords":[],"author":"","license":"ISC","_id":"@1amlabs/tree-visualizer@1.0.2","maintainers":[{"name":"ilostmymedic","email":"martin.johansen.98@outlook.com"}],"homepage":"https://github.com/1AMLabs/tree-visualizer#readme","bugs":{"url":"https://github.com/1AMLabs/tree-visualizer/issues"},"bin":{"tree-visualizer":"dist/cli.js"},"dist":{"shasum":"ba5c8cac8f9b0e0f488b1f21d35ac0f96bd29d77","tarball":"https://registry.npmjs.org/@1amlabs/tree-visualizer/-/tree-visualizer-1.0.2.tgz","fileCount":19,"integrity":"sha512-FNEI9+B0vIAU7PP7T+XIk3hoPtrXf5ARZ/0V+BMPQ6U9WPkr+yGot71G3A9ABnukdAwJdYbH06VyYY5m912fFw==","signatures":[{"sig":"MEUCIHOqGAu6+Nk2b2MYTHbN/F6etIublL5eVDvHVjmNgJj+AiEAsX3Nq8GMJ5rTE572434pM9gmjmi2J+pWZ+52PWCwjac=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21221},"main":"dist/cli.js","type":"module","gitHead":"af7f9dc3ad4e0d718d78bc6a7fb8676040e48317","scripts":{"dev":"tsx src/cli.ts","test":"echo \"No tests yet\" && exit 0","build":"tsc"},"_npmUser":{"name":"ilostmymedic","actor":{"name":"ilostmymedic","type":"user","email":"martin.johansen.98@outlook.com"},"email":"martin.johansen.98@outlook.com"},"repository":{"url":"git+https://github.com/1AMLabs/tree-visualizer.git","type":"git"},"_npmVersion":"10.9.2","description":"[![Build Status](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml/badge.svg)](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml)\r [![NPM version](https://img.shields.io/npm/v/@1amlabs/tree-visualizer.svg)](ht","directories":{},"_nodeVersion":"22.16.0","dependencies":{"chalk":"^4.1.2","mock-fs":"^5.5.0","commander":"^14.0.0","minimatch":"^10.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","jest":"^30.0.0","ts-jest":"^29.4.0","typescript":"^5.8.3","@types/jest":"^30.0.0","@types/node":"^24.0.3","@types/chalk":"^0.4.31","@types/mock-fs":"^4.13.4","@types/commander":"^2.12.0","@types/minimatch":"^5.1.2"},"_npmOperationalInternal":{"tmp":"tmp/tree-visualizer_1.0.2_1750162182357_0.6358546642761711","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@1amlabs/tree-visualizer","version":"1.0.3","keywords":[],"author":"","license":"ISC","_id":"@1amlabs/tree-visualizer@1.0.3","maintainers":[{"name":"ilostmymedic","email":"martin.johansen.98@outlook.com"}],"homepage":"https://github.com/1AMLabs/tree-visualizer#readme","bugs":{"url":"https://github.com/1AMLabs/tree-visualizer/issues"},"bin":{"tree-visualizer":"dist/cli.js"},"dist":{"shasum":"b803066d82b818664c44a1d828973d2f0a2a0a95","tarball":"https://registry.npmjs.org/@1amlabs/tree-visualizer/-/tree-visualizer-1.0.3.tgz","fileCount":18,"integrity":"sha512-Xi+fGgjqW2OZR+HPy227tqrvYw0OvoxEMyXwjM3Rg5AYd3fEb0k4CT18EHOHjvmg01jNq7ibtz6ugHBk/0zVvw==","signatures":[{"sig":"MEQCIHIm6dkOD8g+sIAOKcS+OswKi94cQ8QjOhrqlteYxoGyAiBX9PHXMAMV4eIytCJrPU0rSdJowMLF/wYRUG250PLHiw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18858},"main":"dist/cli.js","type":"module","gitHead":"53b3101d2576506d615da9563a7efcf91af808b9","scripts":{"dev":"tsx src/cli.ts","test":"echo \"No tests yet\" && exit 0","build":"tsc"},"_npmUser":{"name":"ilostmymedic","actor":{"name":"ilostmymedic","type":"user","email":"martin.johansen.98@outlook.com"},"email":"martin.johansen.98@outlook.com"},"repository":{"url":"git+https://github.com/1AMLabs/tree-visualizer.git","type":"git"},"_npmVersion":"10.9.2","description":"[![Build Status](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml/badge.svg)](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml) [![NPM version](https://img.shields.io/npm/v/@1amlabs/tree-visualizer.svg)](htt","directories":{},"_nodeVersion":"22.16.0","dependencies":{"chalk":"^4.1.2","mock-fs":"^5.5.0","commander":"^14.0.0","minimatch":"^10.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","jest":"^30.0.0","ts-jest":"^29.4.0","typescript":"^5.8.3","@types/jest":"^30.0.0","@types/node":"^24.0.3","@types/chalk":"^0.4.31","@types/mock-fs":"^4.13.4","@types/commander":"^2.12.0","@types/minimatch":"^5.1.2"},"_npmOperationalInternal":{"tmp":"tmp/tree-visualizer_1.0.3_1750163271345_0.06800612655092775","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@1amlabs/tree-visualizer","version":"1.0.5","keywords":["tree","visualizer","cli","typescript","file system","directory structure","command line tool"],"author":"","license":"ISC","_id":"@1amlabs/tree-visualizer@1.0.5","maintainers":[{"name":"ilostmymedic","email":"martin.johansen.98@outlook.com"}],"homepage":"https://github.com/1AMLabs/tree-visualizer#readme","bugs":{"url":"https://github.com/1AMLabs/tree-visualizer/issues"},"bin":{"tree-visualizer":"dist/cli.js"},"dist":{"shasum":"8d6681060d51cbd388093638f901d8de17358be6","tarball":"https://registry.npmjs.org/@1amlabs/tree-visualizer/-/tree-visualizer-1.0.5.tgz","fileCount":20,"integrity":"sha512-6vgeDhy1kehgMwbp+oGIFYgeCuVAZyfPJrZ7r2v9SfY4ig0AwIWwUVtQjnrfbdhxLiY6DOvRi4fjHoUjWMKbaA==","signatures":[{"sig":"MEYCIQDKletfm61Bb9puxn7kgE2k+fO/uXfgKzIXsuR9ouPfKQIhAMNlryKaoE2Ze+CSXQ0dpYE4sOcCC1a1bPeDa3u9MJ0B","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19840},"main":"dist/cli.js","type":"module","gitHead":"f2b1d11097227b63fd565b334567bc6447a56e49","scripts":{"dev":"tsx src/cli.ts","test":"echo \"No tests yet\" && exit 0","build":"tsc"},"_npmUser":{"name":"ilostmymedic","actor":{"name":"ilostmymedic","type":"user","email":"martin.johansen.98@outlook.com"},"email":"martin.johansen.98@outlook.com"},"repository":{"url":"git+https://github.com/1AMLabs/tree-visualizer.git","type":"git"},"_npmVersion":"10.9.2","description":"[![Build Status](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml/badge.svg)](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml) [![NPM version](https://img.shields.io/npm/v/@1amlabs/tree-visualizer.svg)](htt","directories":{},"_nodeVersion":"22.16.0","dependencies":{"chalk":"^4.1.2","mock-fs":"^5.5.0","commander":"^14.0.0","minimatch":"^10.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","jest":"^30.0.0","ts-jest":"^29.4.0","typescript":"^5.8.3","@types/jest":"^30.0.0","@types/node":"^24.0.3","@types/chalk":"^0.4.31","@types/mock-fs":"^4.13.4","@types/commander":"^2.12.0","@types/minimatch":"^5.1.2"},"_npmOperationalInternal":{"tmp":"tmp/tree-visualizer_1.0.5_1750185261249_0.6155830247844365","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@1amlabs/tree-visualizer","version":"1.1.0","keywords":["tree","visualizer","cli","typescript","file system","directory structure","command line tool"],"author":"","license":"MIT","_id":"@1amlabs/tree-visualizer@1.1.0","maintainers":[{"name":"ilostmymedic","email":"martin.johansen.98@outlook.com"}],"homepage":"https://github.com/1AMLabs/tree-visualizer#readme","bugs":{"url":"https://github.com/1AMLabs/tree-visualizer/issues"},"bin":{"tree-visualizer":"dist/cli.js"},"dist":{"shasum":"7ce142ece0cc8801b1d97f91b160e99c38db513b","tarball":"https://registry.npmjs.org/@1amlabs/tree-visualizer/-/tree-visualizer-1.1.0.tgz","fileCount":20,"integrity":"sha512-PpTab+ZENLH7Z33WMrNBqqbn4JvAbHUFsF1nSI/iOcXFvTXPm4OLQebgDPe58nPPD+bqIz0dPKTYcrtyvwG5cQ==","signatures":[{"sig":"MEYCIQCL00Y6sGth2tCwejEsUtR63ywUvI8wNeKEr3f69SqhCAIhAPF0sREiseL6vg9RjJXCn2afW5+D91+zOQ7rFuK5h5g2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36862},"main":"dist/cli.js","type":"module","gitHead":"d2c313b6f2f9cca5bdb599fec0aa8a10a8d768ed","scripts":{"dev":"tsx src/cli.ts","test":"echo \"No tests yet\" && exit 0","build":"tsc"},"_npmUser":{"name":"ilostmymedic","actor":{"name":"ilostmymedic","type":"user","email":"martin.johansen.98@outlook.com"},"email":"martin.johansen.98@outlook.com"},"repository":{"url":"git+https://github.com/1AMLabs/tree-visualizer.git","type":"git"},"_npmVersion":"10.9.2","description":"[![Build Status](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml/badge.svg)](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml) [![NPM version](https://img.shields.io/npm/v/@1amlabs/tree-visualizer.svg)](htt","directories":{},"_nodeVersion":"22.16.0","dependencies":{"chalk":"^4.1.2","moment":"^2.30.1","mock-fs":"^5.5.0","commander":"^14.0.0","minimatch":"^10.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","jest":"^30.0.0","ts-jest":"^29.4.0","typescript":"^5.8.3","@types/jest":"^30.0.0","@types/node":"^24.0.3","@types/chalk":"^0.4.31","@types/mock-fs":"^4.13.4","@types/commander":"^2.12.0","@types/minimatch":"^5.1.2"},"_npmOperationalInternal":{"tmp":"tmp/tree-visualizer_1.1.0_1751557270937_0.4216370177043194","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@1amlabs/tree-visualizer","version":"1.1.2","main":"dist/cli.js","type":"module","bin":{"tree-visualizer":"dist/cli.js"},"scripts":{"build":"tsc","dev":"tsx src/cli.ts","test":"echo \"No tests yet\" && exit 0"},"keywords":["tree","visualizer","cli","typescript","file system","directory structure","command line tool"],"author":"","license":"MIT","description":"[![Build Status](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml/badge.svg)](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml) [![NPM version](https://img.shields.io/npm/v/@1amlabs/tree-visualizer.svg)](htt","repository":{"type":"git","url":"git+https://github.com/1AMLabs/tree-visualizer.git"},"bugs":{"url":"https://github.com/1AMLabs/tree-visualizer/issues"},"homepage":"https://github.com/1AMLabs/tree-visualizer#readme","dependencies":{"chalk":"^4.1.2","commander":"^14.0.0","minimatch":"^10.0.3","mock-fs":"^5.5.0","moment":"^2.30.1"},"devDependencies":{"@types/chalk":"^0.4.31","@types/commander":"^2.12.0","@types/jest":"^30.0.0","@types/minimatch":"^5.1.2","@types/mock-fs":"^4.13.4","@types/node":"^24.0.3","jest":"^30.0.0","ts-jest":"^29.4.0","tsx":"^4.20.3","typescript":"^5.8.3"},"publishConfig":{"access":"public"},"_id":"@1amlabs/tree-visualizer@1.1.2","gitHead":"c0d65053862a39433b0da928cc3f6c28dc8b092e","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-4LFU3oEjg9m0W8c6uLx3JXCPMvmiwnNr4qJtWgNIW6OKwdEHCVyRPtHVgIpg6OpnXSWoMXKphH2AHdif4rstuQ==","shasum":"da941b3aa2514c4d44b26c0b549babd9a11178b6","tarball":"https://registry.npmjs.org/@1amlabs/tree-visualizer/-/tree-visualizer-1.1.2.tgz","fileCount":20,"unpackedSize":36816,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIE03JZMR05/WtzaDCD/+XAVgvRxztS1pBPwzDzywwH7NAiAdHfi8IIEMt89EiSvnjFWDNusRrypTwG+qAbvTvwUDbg=="}]},"_npmUser":{"name":"ilostmymedic","email":"martin.johansen.98@outlook.com","actor":{"name":"ilostmymedic","email":"martin.johansen.98@outlook.com","type":"user"}},"directories":{},"maintainers":[{"name":"ilostmymedic","email":"martin.johansen.98@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tree-visualizer_1.1.2_1751572029536_0.41476696724431905"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-17T12:03:52.056Z","modified":"2025-07-03T19:47:09.893Z","1.0.0":"2025-06-17T12:03:52.318Z","1.0.1":"2025-06-17T12:08:02.859Z","1.0.2":"2025-06-17T12:09:42.574Z","1.0.3":"2025-06-17T12:27:51.512Z","1.0.5":"2025-06-17T18:34:21.439Z","1.1.0":"2025-07-03T15:41:11.118Z","1.1.2":"2025-07-03T19:47:09.698Z"},"bugs":{"url":"https://github.com/1AMLabs/tree-visualizer/issues"},"license":"MIT","homepage":"https://github.com/1AMLabs/tree-visualizer#readme","keywords":["tree","visualizer","cli","typescript","file system","directory structure","command line tool"],"repository":{"type":"git","url":"git+https://github.com/1AMLabs/tree-visualizer.git"},"description":"[![Build Status](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml/badge.svg)](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml) [![NPM version](https://img.shields.io/npm/v/@1amlabs/tree-visualizer.svg)](htt","maintainers":[{"name":"ilostmymedic","email":"martin.johansen.98@outlook.com"}],"readme":"# 📁 tree-visualizer\n[![Build Status](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml/badge.svg)](https://github.com/1AMLabs/tree-visualizer/actions/workflows/node.js.yml)\n[![NPM version](https://img.shields.io/npm/v/@1amlabs/tree-visualizer.svg)](https://www.npmjs.com/package/@1amlabs/tree-visualizer)\n[![License](https://img.shields.io/npm/l/@1amlabs/tree-visualizer)](./LICENSE)\n[![Node.js](https://img.shields.io/badge/node-%3E=22.0.0-blue)](https://nodejs.org/en/blog/release/v22.0.0)\n[![Downloads](https://img.shields.io/npm/dm/@1amlabs/tree-visualizer.svg)](https://www.npmjs.com/package/@1amlabs/tree-visualizer)\n\n\n\n> 🧰 Generate a clean and customizable visual file tree of any directory from your terminal.\n\n---\n\n## ✨ Features\n\n- 📂 Outputs a visual tree of files and folders\n- 🚫 Supports ignoring files via `.gitignore`, `.tree-visualizer-ignore`, or CLI patterns\n- 📏 Optionally includes file sizes\n- 📉 Configurable maximum folder depth\n- 🖨️ Outputs to console or a file\n\n---\n\n## 📦 Installation\n\n```sh\nnpm install -g @1amlabs/tree-visualizer\n```\n\n## 🛠️ Usage\n\n```sh\ntree-visualizer [options]\n```\n\n| Option                | Description                                                                 |\n| --------------------- | --------------------------------------------------------------------------- |\n| `--start <dir>`       | Directory to start scanning (default: `.`)                                  |\n| `--out <file>`        | Output file path (writes plain text tree)                                   |\n| `--ignore <patterns>` | Ignore patterns (comma-separated or repeated, e.g., `node_modules,**/*.ts`) |\n| `--sizes`             | Include file sizes in the output                                            |\n| `--max-depth <n>`     | Maximum folder depth to scan (default: unlimited)                           |\n| `--debug`             | Enable debug logging                                                        |\n| `--use-gitignore`     | Use `.gitignore` patterns for ignoring files                                |\n| `--ignoreFile`        | Specify the location of your ignore file                                    |\n\n\n## 🧪 Examples\nDisplay the file tree of the current directory:\n\n```sh\ntree-visualizer\n```\nScan a specific folder while ignoring node_modules and TypeScript files:\n\n```sh\ntree-visualizer --start src --ignore node_modules,**/*.ts\n```\nInclude file sizes and limit the depth to 2 levels:\n\n```sh\ntree-visualizer --sizes --max-depth 2\n```\nWrite the result to a file:\n\n```sh\ntree-visualizer --out tree.txt\n```\nUse your project's .gitignore for ignore patterns:\n\n```sh\ntree-visualizer --use-gitignore\n```\n\n## 🧩 Programmatic Usage\nYou can also use tree-visualizer as a library in your Node.js projects:\n\n```ts\nimport { generateTree } from '@1amlabs/tree-visualizer';\n\nawait generateTree(\n  './my-folder',\n  'tree.txt',\n  ['node_modules', '**/*.log'],\n  { showSizes: true, maxDepth: 2, debug: false }\n);\n```\n\n## 📄 License\nMIT © 1AMLabs\n","readmeFilename":"README.md"}