npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

structure-maker

v1.0.7

Published

Generate a folder structure with tech-specific icons

Downloads

6

Readme

structure-maker

npm version License: ISC

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.

Structure Maker Example

Features

  • 📁 Creates clear, readable folder structure visualizations
  • 🖼️ Tech-specific icons for different file types
  • 📊 Summary statistics of files and folders
  • ⚙️ Customizable depth and ignore patterns
  • 💾 Saves output as a Markdown file
  • 🎨 Colorized terminal output

Installation

Global Installation (Recommended)

npm install -g structure-maker

Local Installation

npm install structure-maker

Usage

Navigate to the directory you want to visualize and run:

structure-maker

This will:

  1. Generate a tree visualization of your current directory
  2. Create a folder-structure.md file with detailed documentation
  3. Display a colorized version of the tree in your terminal

Command Line Options

| Option | Description | |--------|-------------| | --depth | Maximum depth to traverse (default: infinite) | | --ignore | Comma-separated patterns to ignore |

Examples

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

Output Example

The tool generates a Markdown file (folder-structure.md) with:

  • Directory statistics (files and folders count)
  • Breakdown of file types
  • Complete directory tree with file sizes

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)

File Type Icons

| 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 |

Contributing

Contributions are welcome and appreciated! Here's how you can contribute:

Bug Reports & Feature Requests

  • Use the GitHub Issues tab to report bugs or suggest features
  • Clearly describe the issue including steps to reproduce when it is a bug
  • Make sure to include your environment details (OS, Node.js version)

Development Process

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Run tests if available
  5. Commit your changes (git commit -m 'Add some amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. Open a Pull Request

Ideas for Contributions

  • Add more file type icons
  • Improve the markdown output formatting
  • Add export options for different formats (JSON, HTML, etc.)
  • Create a web UI version
  • Add stats visualization
  • Improve performance for large directories

Code Style

  • Maintain the existing code style
  • Add comments for complex logic
  • Update documentation as needed

License

This project is licensed under the ISC License - see the LICENSE file for details.

Author

Chauhan Yuvraj


Made with ❤️ for developers who love clean documentation