fdtree

1.0.2 • Public • Published

Folder Tree

features

  • zero dependency (except the min.js/min.css of course)
  • each folder has its own summary
  • interactive (click folder to trigger expand/fold)

screenshot

usage

git clone https://github.com/iwestlin/foldertree && cd foldertree
npm link

It will add ftree to your $PATH, and can be used like:

ftree path-to-folder > tree.html

Then just open tree.html in browser.

If you don't want add it to path, then simply run commands like:

./bin/ftree . > example.html

./bin/ftree . -f > example-withfile.html # -f or --file, means show tree with files

./bin/ftree . -s > example-snap.html # -s or --snap, means export html in https://github.com/rlv-dan/Snap2HTML

Readme

Keywords

none

Package Sidebar

Install

npm i fdtree

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

2.03 MB

Total Files

14

Last publish

Collaborators

  • viegg