{"library":"prettier-plugin-tsql","type":"library","category":null,"description":"Prettier plugin for formatting T-SQL (Microsoft SQL Server) using Microsoft's official ScriptDom parser (TSql180Parser), supporting syntax up to SQL Server 2025. Version 0.6.4 is beta (breaking changes possible before 1.0). Requires .NET 8+ runtime and Node >=20. Ships TypeScript types. Differentiates from other SQL formatters by using the official parser, preserving comments and batch separators, and covering a broad range of T-SQL features including DML, CTEs, window functions, pivot, temporal tables, JSON functions, and full-text predicates. Integrates with Prettier's editor extensions.","language":"javascript","status":"active","version":"0.6.4","tags":["javascript","prettier","prettier-plugin","sql","tsql","t-sql","sqlserver","sql-server","mssql","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install prettier-plugin-tsql","imports":["// In .prettierrc or prettier config:\n{ \"plugins\": [\"prettier-plugin-tsql\"] }","// .prettierrc\n{\n  \"plugins\": [\"prettier-plugin-tsql\"],\n  \"language\": \"tsql\",\n  \"keywordCase\": \"upper\",\n  \"density\": \"compact\"\n}","import type { Options } from 'prettier-plugin-tsql';"]},{"cmd":"yarn add prettier-plugin-tsql","imports":[]},{"cmd":"pnpm add prettier-plugin-tsql","imports":[]}],"homepage":"https://github.com/schallm/prettier-sql/tree/main/packages/plugin-tsql#readme","github":"https://github.com/schallm/prettier-sql","docs":null,"changelog":null,"pypi":null,"npm":"prettier-plugin-tsql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}