pathtree
v2.0.0
Published
Node.js module to print path tree.
Downloads
47
Readme
pathtree
Node.js module to print path tree.
Installation
$ npm install pathtree --saveUsage
'use strict'
const pathtree = require('pathtree')
pathtree('.', {
ignore: 'node_modules'
}).then(() => {
/* ... */
})
.
├── foo
│ ├── bar
│ │ ├── baz.txt
│ │ └── quz.txt
│ └── quzz
│ └── quzzz.txt
└── zzz
└── bar
├── baz.txt
└── quz.txtOptions
| Key | Default | Description | | --- | --- | --- | | ignore | | Name to ignore. |
Using with CLI
Install as a global module.
$ npm install pathtree -gThen,
$ pathtree . -I node_modulesLicense
This software is released under the MIT License.
