{"library":"prettier-plugin-svelte","type":"library","category":null,"description":"Prettier plugin for formatting Svelte components, supporting Svelte 3, 4, and 5. Current stable version is 3.5.1, with active development. Automatically formats HTML, CSS, and JavaScript within Svelte files, including Svelte-specific syntax like each loops, if blocks, and event bindings. Key differentiators: official plugin from the Svelte team, integrates natively with the Svelte VS Code extension, and supports Prettier v3 (v2 works with Prettier v2). Released on npm, ships TypeScript types, and follows Prettier's plugin API. Compared to generic formatters, this plugin understands Svelte's template syntax and provides options like sorting order and strict mode.","language":"javascript","status":"active","version":"3.5.1","tags":["javascript","prettier","svelte","typescript"],"install":[{"cmd":"npm install prettier-plugin-svelte","imports":["Add 'prettier-plugin-svelte' to the plugins array in your Prettier config","Set options in .prettierrc: { \"svelteSortOrder\": \"options-scripts-markup-styles\", \"svelteStrictMode\": true }","No import needed; types are provided automatically when using Prettier's config"]},{"cmd":"yarn add prettier-plugin-svelte","imports":[]},{"cmd":"pnpm add prettier-plugin-svelte","imports":[]}],"homepage":"https://svelte.dev","github":"https://github.com/sveltejs/prettier-plugin-svelte","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/prettier-plugin-svelte","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/prettier-plugin-svelte/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}