2.0.0 • Published 8 years ago

pathtree v2.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

pathtree

Build Status Code Climate Code Coverage npm Version JS Standard

Node.js module to print path tree.

Installation

$ npm install pathtree --save

Usage

'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.txt

Options

KeyDefaultDescription
ignoreName to ignore.

Using with CLI

Install as a global module.

$ npm install pathtree -g

Then,

$ pathtree . -I node_modules

License

This software is released under the MIT License.

Links