
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
structure-maker
Advanced tools
Keywords:
directory-tree
,folder-structure
,file-explorer
,project-visualization
,markdown-generator
,documentation-tool
,dev-utility
,file-system-scanner
Generate beautiful folder structure visualizations with tech-specific icons for documentation, sharing, or analysis.
npm install -g structure-maker
npm install structure-maker
Navigate to the directory you want to visualize and run:
structure-maker
This will:
folder-structure.md
file with detailed documentationOption | Description |
---|---|
--depth | Maximum depth to traverse (default: infinite) |
--ignore | Comma-separated patterns to ignore |
Limit directory depth:
structure-maker --depth 2
Ignore specific folders or files:
structure-maker --ignore dist,build,temp
Combine options:
structure-maker --depth 3 --ignore logs,temp
The tool generates a Markdown file (folder-structure.md
) with:
Example terminal output:
project-root/
├─ 📁 src
│ ├─ 📁 components
│ │ ├─ 💻 Button.js (2.3 KB)
│ │ └─ 💻 Header.js (1.7 KB)
│ └─ 💻 index.js (0.5 KB)
├─ 📁 docs
│ └─ 📜 README.md (3.2 KB)
└─ 📊 package.json (1.1 KB)
Extension | Icon | Description |
---|---|---|
.js , .ts , .py , .java | 💻 | Code files |
.md , .txt | 📜 | Text documents |
.json | 📊 | Data files |
.jpg , .png , .gif | 🖼️ | Image files |
.mp4 , .avi | 🎥 | Video files |
.mp3 , .wav | 🎵 | Audio files |
.pdf , .docx | 📚 | Document files |
Other | 📄 | Generic files |
Contributions are welcome and appreciated! Here's how you can contribute:
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)This project is licensed under the ISC License - see the LICENSE file for details.
Chauhan Yuvraj
Made with ❤️ for developers who love clean documentation
FAQs
Generate a folder structure with tech-specific icons
The npm package structure-maker receives a total of 4 weekly downloads. As such, structure-maker popularity was classified as not popular.
We found that structure-maker demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.