Skip to content

zaftzaft/terminal-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terminal-tree

screenshot

Installation

$ npm i -g terminal-tree

CLI

$ terminal-tree example.json

Output Markdown from 'tree' command.

$ tree -J | terminal-tree -Tm

for Node.js

var tree = require("terminal-tree");

var data = {
  test: [1, 2, 3, 4],
  foo: "bar"
};

console.log(tree(data, {
  symbol: true,
  highlight: true,
  padding: 1
}));

License

MIT

About

Show colorful tree in the terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published