• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
nbbaier

nbbaier

createFileTree

Public
Like
4
createFileTree
Home
Code
5
.vtignore
README.md
biome.json
deno.json
main.ts
Branches
2
Pull requests
Remixes
2
History
Environment variables
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.
Sign up now
Code
/
Code
/
Search
README.md

Project File Tree Generator

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

Usage

Create val
import createFileTree from "https://esm.town/v/nbbaier/createFileTree/main.ts"; const treeOutput = await createFileTree("std", "reactHonoStarter"); console.log(treeOutput);

Example Output

The following is the output for reactHonoStarter project

std/reactHonoStarter
├── backend
│   └── index.ts
├── frontend
│   ├── components
│   │   └── App.tsx
│   ├── favicon.svg
│   ├── index.html
│   ├── index.tsx
│   └── style.css
└── README.md
Code
.vtignoreREADME.mdbiome.jsondeno.jsonmain.ts
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.