{"library":"prisma-schema-dsl","type":"library","category":null,"description":"A JavaScript/TypeScript library for programmatically building and printing Prisma Schema DSL ASTs. Current stable version 2.2.0 allows creating enums, models, fields, and data sources with validation and type safety. Exports a print() function that formats the AST into a valid Prisma schema file using prisma-format. Key differentiator: provides a type-safe builder pattern instead of string manipulation, with full TypeScript support. Active development on GitHub under Amplication.","language":"javascript","status":"active","version":"2.2.0","tags":["javascript","prisma","schema","dsl","ast","generator","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install prisma-schema-dsl","imports":["import { createSchema } from 'prisma-schema-dsl'","import type { Schema } from 'prisma-schema-dsl'","import { print } from 'prisma-schema-dsl'"]},{"cmd":"yarn add prisma-schema-dsl","imports":[]},{"cmd":"pnpm add prisma-schema-dsl","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"prisma-schema-dsl","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}