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

prisma-uml

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prisma-uml

Welcome to prisma-uml 👋

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1K
increased by43.33%
Maintainers
1
Weekly downloads
 
Created
Source

Welcome to prisma-uml 👋

A CLI to transform a Prisma schema to a PlantUML Entity RelationShip Diagram

npm npm CircleCI (all branches)

Installation

Using npx

If you don't want to install the CLI but just execute it, you can use it through npx this way

npx prisma-uml --help

Install with npm

You can also install the CLI globally

npm i -g prisma-uml
prisma-uml --help

Commands

prisma-uml <path> [options]

Generate a plantUML from a Prisma schema

prisma-uml <path> [--output]

Argument

NameDescription
pathPath to Prisma schema.

Options

NameAliasDescriptiondefault
--output-otexttext
Examples

# Output a plantUML Entity Relation Diagram as text
prisma-uml ./schema.prisma

Demo

asciicast

Incoming changes

  • Allow to output UML as PNG, JPEG, SVG, WSD...
  • Split fields into entity (scalar, enum, navigation fields / external type).
  • Group relations by entities.
  • NextJs Preview that run the CLI on server to render a prisma schema to a plantUML ERD ?
  • Put @prisma/sdk as PeerDependencies (support starts a beta-2)

Authors

👤 Brendan Stromberger

👤 Yann Renaudin

Show your support

Give a ⭐️ if this project helped you!

FAQs

Package last updated on 21 Apr 2020

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc