New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nindaff/ascii-tree

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nindaff/ascii-tree

WIP. More to come soon.

0.0.2
latest
npm
Version published
Weekly downloads
25
-41.86%
Maintainers
1
Weekly downloads
 
Created
Source

ASCII Tree

WIP. More to come soon.

Turn This

const tree = {
  value: 'Foo',
  children: [
    {
      value: 'Bar',
      children: [
        'Bar-1',
        'Bar-2',
      ]
    },
    {
      value: 'Bang',
      children: [
        {
          value: 'Bang-1',
          children: [
            'Bang-1-1',
            'Bang-1-2',
            'Bang-1-3',
          ]
        },
        'Bang-2',
      ],
    },
  ],
};

Into This

                                  Foo                                 
          __________________________|_______                          
          |                                |                          
        Bar                              Bang                         
     _____|___                       ______|_________________         
     |       |                       |                      |         
  Bar-1   Bar-2                   Bang-1                 Bang-2       
                         ____________|__________                      
                         |          |          |                      
                     Bang-1-1   Bang-1-2   Bang-1-3                   

FAQs

Package last updated on 10 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts