pathtree
Node.js module to print path tree.
Last updated 2 years ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install pathtree 
SYNC missed versions from official npm registry.

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

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (10)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |