{"library":"format-graphql","type":"library","category":null,"description":"A GraphQL SDL formatter that sorts definitions, fields, arguments, and enums alphabetically (version 1.5.0). It works as both a CLI tool and a Node.js API, with options to control which sorting aspects are applied. Designed for predictable schema organization in large GraphQL projects. Notable differentiator: defaults to sorting all elements alphabetically, unlike prettier which only does basic formatting. Stable release with no recent updates.","language":"javascript","status":"active","version":"1.5.0","tags":["javascript","graphql","schema","sdl","sort","lint","format"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install format-graphql","imports":["import { formatSdl } from 'format-graphql'","import { formatSdl } from 'format-graphql'","formatSdl(schema, { sortDefinitions: true, sortFields: true })"]},{"cmd":"yarn add format-graphql","imports":[]},{"cmd":"pnpm add format-graphql","imports":[]}],"homepage":"https://github.com/gajus/format-graphql#readme","github":"ssh://git@github.com/gajus/format-graphql","docs":null,"changelog":null,"pypi":null,"npm":"format-graphql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}