Socket
Socket
Sign inDemoInstall

@nindaff/ascii-tree

Package Overview
Dependencies
54
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nindaff/ascii-tree

WIP. More to come soon.


Version published
Maintainers
1
Install size
952 kB
Created

Readme

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

Last updated on 10 Mar 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc