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

tree2svg

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tree2svg

TS library for rendering tree objects into SVG.

latest
npmnpm
Version
1.0.10
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

svg-tree

A TypeScript library for rendering objects into SVG in a programmatic, object-oriented way. Build SVG graphics using simple, composable classes without dealing with raw XML strings.

Features

  • 🎯 Fully Typed: Written in TypeScript with complete type definitions
  • 🧩 Composable: Build complex SVG structures using simple, reusable components
  • 🎨 Rich Shapes: Support for rectangles, circles, paths, polygons, text and more
  • 🔧 Utilities: Helper functions for transformations, colors, and geometric calculations
  • 📦 Zero Dependencies: Pure TypeScript/JavaScript with no external dependencies
  • 🌐 Universal: Works in both browser and Node.js environments

Installation

npm install svg-tree

Quick Start

TODO

License

ISC

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Keywords

svg

FAQs

Package last updated on 24 Oct 2025

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