Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

folder-tree-viewer

saneksa3MIT1.0.1TypeScript support: included

Folder Tree Viewer is a Node.js utility that displays the structure of files and directories in a tree-like format in the command line interface.

Folder structure, Directory tree, Command line utility, File hierarchy, Node.js tool, File system viewer, Tree structure display, Directory listing, Path structure, Folder navigation

readme

Folder Tree Viewer

Folder Tree Viewer is a Node.js utility that displays the structure of files and directories in a tree-like format in the command line interface.

npm

Usage

npx folder-tree-viewer /path/to/directory node_modules
  • <folder_path> is the path to the target folder.
  • [excluded_folders...] (optional) is a list of folders to exclude from the structure display.
folder-tree-viewer
├── dist/
│   ├── index.cjs
│   └── index.esm.js
├── lib/
│   ├── functions.ts
│   └── index.ts
├── node_modules/
├── .gitignore
├── LICENSE
├── README.md
├── lib.code-workspace
├── package.json
├── rollup.config.cjs
├── tsconfig.json
└── yarn.lock

node_modules and folders with the prefix . are automatically excluded from recursive mapping

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.0.1 (2024-01-10)