{"library":"typescript-template-language-service-decorator","type":"library","category":null,"description":"Framework for decorating a TypeScript language service with support for languages embedded inside template strings. Current stable version is 2.3.2, released July 2021. This library abstracts the complexity of handling template string nodes, allowing developers to focus on the embedded language's content. It is primarily used to build TypeScript language service plugins for tagged template literals (e.g., styled-components, lit-html). Unlike custom language service implementations, this decorator seamlessly integrates with TypeScript's existing infrastructure, handling offset mapping and template context automatically. It ships with TypeScript types and is ESM-and-CJS compatible. Release cadence is low; updates are infrequent and focus on maintenance.","language":"javascript","status":"active","version":"2.3.2","tags":["javascript","TypeScript","typescript server","plugin","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install typescript-template-language-service-decorator","imports":["import { decorateWithTemplateLanguageService } from 'typescript-template-language-service-decorator'","import type { TemplateLanguageService } from 'typescript-template-language-service-decorator'","import type { TemplateContext } from 'typescript-template-language-service-decorator'"]},{"cmd":"yarn add typescript-template-language-service-decorator","imports":[]},{"cmd":"pnpm add typescript-template-language-service-decorator","imports":[]}],"homepage":null,"github":"https://github.com/Microsoft/typescript-template-language-service-decorator","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/typescript-template-language-service-decorator","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/typescript-template-language-service-decorator/compatibility"}}