![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
prisma-markdown
Advanced tools
Prisma Markdown documents generator including ERD diagrams and comment descriptions
Prisma markdown documents generator.
///
comments@tag
commentsIf you want to see how markdown document being generated, read below examples:
At first, install NPM package.
npm i -D prisma-markdown
At next, add the generator to the schema file.
generator markdown {
provider = "prisma-markdown"
output = "./ERD.md"
}
At last, run below command, than ERD.md file would be generated.
npx prisma generate
@tag
and @erdTag
If your database has over hundreds of models, none of automatic ERD generators can express them perfect. In that case, prisma-migration
recommends you to separate hundreds of models to multiple paginated diagrams by using /// @tags <name>
comments.
When you write /// @tags <name>
comment on models, they would be separated to proper sections of markdown document. For reference, you can assign multiple @tag
s to a model, and if you do not assign any @tag
to a model, it would be assigned to default
tag.
Also, if you use @erdTag
instead of @tag
, target model would be expressed only at ERD. It would not be appeared to the markdown content section.
/// @tag Actors
/// @erdTag Articles
/// @erdTag Orders
/// @erdTag Deposits
model shopping_customers {}
/// @tag Articles
model shopping_questions {}
/// @tag Orders
model shopping_orders {}
/// @tag Deposits
model shopping_deposits {}
FAQs
Prisma Markdown documents generator including ERD diagrams and comment descriptions
The npm package prisma-markdown receives a total of 74 weekly downloads. As such, prisma-markdown popularity was classified as not popular.
We found that prisma-markdown demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.