Skip to content

d2lang.com

D2 is a modern diagram scripting language that turns text to diagrams.

Package Information

  • Domain: d2lang.com
  • Name: d2lang.com
  • Homepage: Not specified
  • Source: View on GitHub

Installation

bash
# Install with launchpad
launchpad install d2

Programs

This package provides the following executable programs:

  • d2

Aliases

This package can also be accessed using these aliases:

  • d2

Available Versions

Show all 11 versions
  • 0.7.0, 0.6.9, 0.6.8, 0.6.7, 0.6.6
  • 0.6.5, 0.6.4, 0.6.3, 0.6.2, 0.6.1
  • 0.6.0

Latest Version: 0.7.0

Install Specific Version

bash
# Install specific version
sh <(curl https://pkgx.sh) +d2lang.com@0.7.0 -- $SHELL -i

Usage Examples

typescript
import { pantry } from 'ts-pkgx'

// Access this package
const pkg = pantry.d2langcom

console.log(`Package: ${pkg.name}`)
console.log(`Description: ${pkg.description}`)
console.log(`Programs: ${pkg.programs.join(', ')}`)

This documentation was auto-generated from package data.

Released under the MIT License.