{"library":"svelte-language-server","type":"library","category":null,"description":"The Svelte Language Server (package `svelte-language-server`, currently at version 0.17.30) provides language-specific smarts for Svelte development within various editors by implementing the Language Server Protocol (LSP). It acts as the core engine for features like diagnostics, autocompletion, hover information, formatting, and code actions for Svelte, HTML, CSS/SCSS/LESS, and TypeScript/JavaScript within Svelte components. It is an actively maintained component of the broader `sveltejs/language-tools` monorepo, with frequent patch releases addressing performance improvements and bug fixes, typically on a weekly or bi-weekly cadence. Key differentiators include its deep integration with the Svelte compiler and TypeScript, leveraging `svelte2tsx` for seamless type-checking, and its ability to provide comprehensive language features across multiple embedded languages within `.svelte` files. Unlike many libraries consumed directly via `import`, this package is primarily designed to be run as a separate process by editor extensions (like the official VS Code Svelte extension) or custom LSP clients, offering a robust and extensible foundation for Svelte tooling. Its current stable versions require Node.js >= 18.0.0.","language":"javascript","status":"active","version":"0.17.30","tags":["javascript","svelte","vscode","atom","editor","language-server","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install svelte-language-server","imports":["import { LSConfigManager } from 'svelte-language-server'","import { SvelteDocument } from 'svelte-language-server'","import { SveltePlugin } from 'svelte-language-server'"]},{"cmd":"yarn add svelte-language-server","imports":[]},{"cmd":"pnpm add svelte-language-server","imports":[]}],"homepage":null,"github":"https://github.com/sveltejs/language-tools","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/svelte-language-server","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/svelte-language-server/compatibility"}}