@alexgreb/tree-path

1.1.1 • Public • Published

tree-path

List contents of directories in tree-like format.

Usage

First you'll want to run this command in your project's root folder:

$ npm install tree-path

cmd/shell

tree-path

Output:

your path
├── .gitignore
├── bin
│   └── tree-path.js
├── node_modules
│   └── mri
│       ├── lib
│       │   ├── index.js
│       │   └── index.mjs
│       ├── license.md
│       ├── package.json
│       └── readme.md
├── package-lock.json
├── package.json
└── README.md

4 directories, 10 files

Options

Option Alias Description Example
--depth -d Specify depth of tree tree-path --depth 3

Package Sidebar

Install

npm i @alexgreb/tree-path

Weekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

13.9 kB

Total Files

9

Last publish

Collaborators

  • alexgreb