{"library":"lit-analyzer","type":"library","category":null,"description":"Lit Analyzer is a command-line interface (CLI) tool designed to provide static analysis and type checking for Lit templates within JavaScript and TypeScript projects. It enhances the developer experience by catching common errors related to Lit element properties, events, and slots before runtime. The current stable version is 2.0.3, with regular updates to support new Lit features and address community feedback. Key differentiators include its deep integration with TypeScript for template-bound expressions, offering autocompletion suggestions, and enforcing best practices through configurable rules, such as ensuring proper property visibility (`@property`, `@internalProperty`) and correct custom element registration in `HTMLElementTagNameMap`. Its development is active, with significant improvements introduced in the transition to v2.","language":"javascript","status":"active","version":"2.0.3","tags":["javascript","lit-html","lit","lit-element","typescript","web components","web","components"],"last_verified":"Wed Apr 22","install":[{"cmd":"npm install lit-analyzer","imports":[]},{"cmd":"yarn add lit-analyzer","imports":[]},{"cmd":"pnpm add lit-analyzer","imports":[]}],"homepage":null,"github":"https://github.com/runem/lit-analyzer","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/lit-analyzer","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}