Node.js module to print path tree.
npm install pathtreepathtree
==========
[![Build Status][bd_travis_shield_url]][bd_travis_url]
[![Code Climate][bd_codeclimate_shield_url]][bd_codeclimate_url]
[![Code Coverage][bd_codeclimate_coverage_shield_url]][bd_codeclimate_url]
[![npm Version][bd_npm_shield_url]][bd_npm_url]
[![JS Standard][bd_standard_shield_url]][bd_standard_url]
[bd_repo_url]: https://github.com/okunishinishi/node-pathtree
[bd_travis_url]: http://travis-ci.org/okunishinishi/node-pathtree
[bd_travis_shield_url]: http://img.shields.io/travis/okunishinishi/node-pathtree.svg?style=flat
[bd_license_url]: https://github.com/okunishinishi/node-pathtree/blob/master/LICENSE
[bd_codeclimate_url]: http://codeclimate.com/github/okunishinishi/node-pathtree
[bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/okunishinishi/node-pathtree.svg?style=flat
[bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/okunishinishi/node-pathtree.svg?style=flat
[bd_gemnasium_url]: https://gemnasium.com/okunishinishi/node-pathtree
[bd_gemnasium_shield_url]: https://gemnasium.com/okunishinishi/node-pathtree.svg
[bd_npm_url]: http://www.npmjs.org/package/pathtree
[bd_npm_shield_url]: http://img.shields.io/npm/v/pathtree.svg?style=flat
[bd_standard_url]: http://standardjs.com/
[bd_standard_shield_url]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg
Node.js module to print path tree.
``bash`
$ npm install pathtree --save
`javascript
'use strict'
const pathtree = require('pathtree')
pathtree('.', {
ignore: 'node_modules'
}).then(() => {
/ ... /
})
`
`bash`
.
├── foo
│ ├── bar
│ │ ├── baz.txt
│ │ └── quz.txt
│ └── quzz
│ └── quzzz.txt
└── zzz
└── bar
├── baz.txt
└── quz.txt
| Key | Default | Description |
| --- | --- | --- |
| ignore | | Name to ignore. |
Install as a global module.
`bash`
$ npm install pathtree -g
Then,
`bash``
$ pathtree . -I node_modules
License
-------
This software is released under the MIT License.
Links
------