pathtree

2.0.0 • Public • Published

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

Key Default Description
ignore Name 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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    18
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    18
  • 1.0.2
    2
  • 1.0.1
    1
  • 1.0.0
    2

Package Sidebar

Install

npm i pathtree

Weekly Downloads

16

Version

2.0.0

License

MIT

Last publish

Collaborators

  • okunishinishi