
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
treeplan is a command-line tool that generates a text tree view of a folder structure.
To install treeplan, you need to have Node.js installed. Then, you can install it globally using npm, pnpm, or yarn:
npm install -g treeplan
pnpm add -g treeplan
yarn global add treeplan
You can also run it directly using npx or pnpx without installing it globally:
npx treeplan
pnpx treeplan
treeplan [options]
-V, --version: Output the version number-p, --path <path>: The directory path to generate a tree view for (default: .)-o, --output <file>: Output file to save the tree view-i, --ignore <folders>: Comma-separated list of folders to ignore (e.g., node_modules, dist) (default: node_modules, .git)-n, --no-default-ignore: Do not ignore default folders (node_modules, .git)-h, --help: Display help for commandGenerate a tree view for the current directory and print it to the console:
treeplan
Generate a tree view for a specific directory and save it to a file:
treeplan --path /path/to/directory --output tree.txt
Ignore specific files and folders:
treeplan --ignore files,and,folders,to,ignore
Do not use default ignore patterns:
treeplan --no-default-ignore
This project is licensed under the MIT License.
FAQs
Generate a text tree view of a folder structure
We found that treeplan demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.