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

scaffold-tree-cli

v1.0.1

Published

πŸ“ Scaffold Tree CLI

Downloads

201

Readme

πŸ“ Scaffold Tree CLI

Instantly generate real folder structures from pasted trees.

Supports:

βœ… Space-based indentation

βœ… ASCII trees (β”œβ”€β”€, └──, β”‚)

βœ… Deep nested projects

βœ… Large scaffolds (SaaS, backend, monorepos, etc.)

Perfect for turning ChatGPT folder trees into real projects.

πŸš€ Install Global Install (from npm) npm install -g scaffold-tree-cli

Then run:

scaffold-tree-cli 🧠 What It Does

Give it a folder tree like this:

saas-platform package.json src main.ts modules auth auth.controller.ts auth.service.ts tests auth.test.ts

And it generates:

saas-platform/ β”œβ”€β”€ package.json β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ main.ts β”‚ └── modules/ β”‚ └── auth/ β”‚ β”œβ”€β”€ auth.controller.ts β”‚ └── auth.service.ts └── tests/ └── auth.test.ts

All files created instantly.

πŸ“¦ Usage Method 1 β€” Paste Directly scaffold-tree-cli

Paste your structure.

Press:

Ctrl + D

Done.

Method 2 β€” Pipe From File (Recommended) scaffold-tree-cli < structure.txt 🌲 Supported Formats 1️⃣ Space-Based my-app src index.ts utils helper.ts 2️⃣ ASCII Tree (ChatGPT / Unix style) my-app/ β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ index.ts β”‚ └── utils/ β”‚ └── helper.ts └── package.json

Both formats work.

βš™οΈ Behavior

Directories are created recursively

Files are detected by presence of .

Existing files are not overwritten

Root folder is created inside current working directory

πŸ’‘ Use Cases

Rapid project scaffolding

Convert ChatGPT responses into real structure

Create backend module layout

Spin up SaaS skeletons

Teaching folder architecture

πŸ›  Development

Clone repo:

git clone cd scaffold-tree-cli

Build:

npm run build

Test locally:

npm link scaffold-tree-cli πŸ“Œ Example Large Scaffold

Works with deeply nested trees like:

SaaS platforms

Express APIs

NestJS modules

Microservices

Docker setups

Monorepos

πŸ“„ License

ISC