{"_id":"@abdo9616/printprojecttree","name":"@abdo9616/printprojecttree","dist-tags":{"latest":"2.0.1"},"versions":{"2.0.1":{"name":"@abdo9616/printprojecttree","version":"2.0.1","bin":{"project-tree":"index.js","ptree":"index.js"},"description":"A tool to print the structure of a project in a tree format.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node index.js"},"preferGlobal":true,"dependencies":{"commander":"^11.0.0"},"keywords":[],"author":{"name":"Abdo9616"},"license":"MIT","type":"commonjs","repository":{"type":"git","url":"git+https://github.com/Abdo9616/project-tree.git"},"bugs":{"url":"https://github.com/Abdo9616/project-tree/issues"},"homepage":"https://github.com/Abdo9616/project-tree#readme","gitHead":"7d66a3ddbda5dc87314dc541bb3ef9c2ee50115a","_id":"@abdo9616/printprojecttree@2.0.1","_nodeVersion":"22.14.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-buqH9Ygr3rCaShwrxjbkj/HPTXWNBvnkoan0j/auD4lNVzgJpYq9JodfcEkG4W4Ru+rKlAiXC/jXunNhBjZ5EA==","shasum":"4bfebeec1cfd5c72db1d092bb515e003858bc57a","tarball":"https://registry.npmjs.org/@abdo9616/printprojecttree/-/printprojecttree-2.0.1.tgz","fileCount":4,"unpackedSize":12306,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDQ1ST7dL5Dgml9VOusEJADwtI6yXmWZn9VI8F+KsAZAAiEA6DhDNLg3RavVqHKV0XoyNys+6q9P+86P833EPfrFH3I="}]},"_npmUser":{"name":"abdo9616","email":"abdelrahman777700@gmail.com"},"directories":{},"maintainers":[{"name":"abdo9616","email":"abdelrahman777700@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/printprojecttree_2.0.1_1772172264560_0.6936071246533007"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-27T06:04:24.462Z","2.0.1":"2026-02-27T06:04:24.712Z","modified":"2026-02-27T06:04:25.233Z"},"maintainers":[{"name":"abdo9616","email":"abdelrahman777700@gmail.com"}],"description":"A tool to print the structure of a project in a tree format.","homepage":"https://github.com/Abdo9616/project-tree#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/Abdo9616/project-tree.git"},"author":{"name":"Abdo9616"},"bugs":{"url":"https://github.com/Abdo9616/project-tree/issues"},"license":"MIT","readme":"# Project Tree\n\nSmall CLI to print directory structures in tree format.\n\n## Install\n\n```bash\nnpm install\nnpm link\n```\n\nAfter linking, these commands are available:\n\n```bash\nproject-tree\nptree\n```\n\n## Quick Usage\n\n```bash\n# Interactive mode\nproject-tree\n\n# Print any directory (relative or absolute)\nproject-tree ../another-folder\nptree \"C:/Users/you/Documents/project\"\n\n# Multiple targets\nproject-tree ./src ./tests\n\n# Comma-separated targets (compatibility)\nproject-tree --paths \"./src,./tests\"\n\n# One-time excludes\nproject-tree . --exclude \"dist,coverage\"\n\n# Include node_modules/.git too\nproject-tree . --no-default-ignores\n```\n\n## Saved Excludes (JSON Config)\n\nSaved excludes are stored in your user config directory by default:\n\n- Windows: `%APPDATA%\\\\project-tree\\\\config.json`\n- Linux/macOS (XDG): `$XDG_CONFIG_HOME/project-tree/config.json`\n- Linux/macOS (fallback): `~/.config/project-tree/config.json`\n\nExample config:\n\n```json\n{\n  \"savedExcludes\": [\"dist\", \"coverage\"]\n}\n```\n\nManage saved excludes:\n\n```bash\nproject-tree --add-saved-excludes \"dist,coverage\"\nproject-tree --remove-saved-excludes \"coverage\"\nproject-tree --set-saved-excludes \"dist,build\"\nproject-tree --clear-saved-excludes\nproject-tree --list-saved-excludes\n```\n\nUse a custom config location:\n\n```bash\nproject-tree --config \"./config/tree.json\" --list-saved-excludes\n```\n\nIf you prefer project-local config:\n\n```bash\nproject-tree --config \".project-tree.json\" --add-saved-excludes \"dist,coverage\"\n```\n\n## Behavior Summary\n\n- Default ignores are enabled: `node_modules`, `.git`.\n- Final excludes are merged from:\n  - Default ignores (unless `--no-default-ignores`)\n  - Saved excludes from config\n  - One-time excludes from `--exclude`\n","readmeFilename":"README.md","_rev":"1-04ac0e61158c24c416aa2df91a47b986"}