Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

Project File Tree Generator

A utility for generating a visual file tree representation for Val Town Projects.

Usage

import createFileTree from "https://esm.town/v/nbbaier/createFileTree"; const treeOutput = await createFileTree("https://esm.town/v/std/reactHonoStarter@34-main"); console.log(treeOutput);

Example Output

The following is the output for @stevekrouse's reactHonoStarter project

.
├── backend
│   └── index.ts
├── frontend
│   ├── components
│   │   └── App.tsx
│   ├── index.html
│   └── index.tsx
└── README.md