New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

text2tree

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

text2tree

Turn simple text files with indentations to SVG mindmap tress inside browser using CLI

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

text2tree

Turn simple text files with indentations to SVG mindmap tress inside browser using CLI

Installation

Install the CLI (command line interface) tool globally on your machine.

$ npm install -g text2tree

Usage

You can either use the CLI tool to run a server or generate an image from your text file

Browser

This command will spin up a web server and renders the SVG tree within the browser for preview

$ text2tree my-text-file.txt

The webserver will listen on localhost:3000 by default, but you can alter this configuration by passing the -p --port flag to the cli.

$ text2tree my-text-file.txt -p 3020

Image export [under development]

You can also export the tree graph to a .png file using the -o --output flag:

$ text2tree my-text-file.txt -o my-tree.jpeg

FAQs

Package last updated on 13 Mar 2022

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