New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

project-structure-tree

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

project-structure-tree

Prints a project folder structure in a tree format.

latest
Source
npmnpm
Version
1.7.0
Version published
Maintainers
1
Created
Source

📁 Project Structure Tree

project-structure-tree is a simple CLI tool that prints a visual tree representation of a directory structure.

Installation

npm install -g project-structure-tree

This will make the CLI commands project-structure-tree and pst available globally.

Usage

project-structure-tree [target_directory]

or simply:

pst [target_directory]

If no directory is provided, it defaults to the current working directory.

Example

pst .
my-project/
├── index.js
├── package.json
└── src/
    ├── components/
    └── utils/

🎯 Features

  • Tree-style display of folders and files
  • Ignores .gitignore, .git, and node_modules
  • Color-coded output:
    • Cyan for directories
    • Yellow for files

Keywords

project-structure-tree

FAQs

Package last updated on 30 Mar 2025

Did you know?

Socket

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.

Install

Related posts