@tahsinzidane/sft
v0.1.5
Published
A simple Node.js CLI tool that prints the full file tree of a directory in your terminal
Maintainers
Readme
@tahsinzidane/sft
A simple Node.js CLI tool that prints the full file tree of a directory in your terminal. Quickly visualize your project structure without leaving the command line.
Installation
Install globally via npm:
npm install -g @tahsinzidane/sftUsage
Print the file tree of the current directory:
sftPrint the file tree with file info (size + last modified date):
sft -i
# or
sft --infoLimit file exploring depth:
sft -d 2
# or
sft --depth 2Print the file tree of a specific directory:
sft path/to/directoryExample:
sft C:\Users\tahsinzidane\projectsOutput:
project-folder
├── index.js
├── package.json
└── src
├── app.js
└── utils.jsFeatures
- Recursive directory traversal
- Pretty tree-style formatting
- Ignore node_module
- Works on Windows, macOS, and Linux
- Lightweight and fast
- Depth limit
- File info
