Prisma Schema Sorter

JSON →
library 1.5.0 ·javascript
verified Jun 7, 2026

A CLI and programmatic tool that alphabetically sorts Prisma schema elements, including models, enums, generators, and datasources. Version 1.5.0 (stable) requires Node.js >=18. It is zero-config, fast, lightweight, and ships TypeScript types. Unlike manual sorting or ad-hoc scripts, this tool provides a consistent, automated ordering that integrates into pre-commit hooks or CI pipelines. Released under MIT license on npm with weekly updates.