{"library":"tree-sitter-vue","type":"library","category":null,"description":"`tree-sitter-vue` provides a specialized grammar for parsing Vue.js template syntax, specifically targeting Vue v2.6.0. It leverages the `tree-sitter` parsing library to generate concrete syntax trees for the template sections within `.vue` files. As of version 0.2.1, its primary focus is on the Vue 2 template syntax itself, explicitly not handling embedded languages like JavaScript within `<script>` tags or CSS within `<style>` tags. Users needing multi-language parsing must integrate other `tree-sitter` grammars for those respective sections. The project appears to be in maintenance mode, with its last commit dating to September 2021, suggesting infrequent releases unless major changes occur in Vue 2 syntax or the `tree-sitter` core. It differentiates itself by offering a robust, structural parse of Vue 2 templates, which is crucial for advanced tooling like linters, formatters, and IDE features that rely on accurate syntax analysis.","language":"javascript","status":"maintenance","version":"0.2.1","tags":["javascript","parser","lexer"],"last_verified":"Wed May 27","install":[{"cmd":"npm install tree-sitter-vue","imports":["const Parser = require('tree-sitter');","const Vue = require('tree-sitter-vue');","parser.setLanguage(Vue);"]},{"cmd":"yarn add tree-sitter-vue","imports":[]},{"cmd":"pnpm add tree-sitter-vue","imports":[]}],"homepage":null,"github":"https://github.com/ikatyang/tree-sitter-vue","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/tree-sitter-vue","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/tree-sitter-vue/compatibility"}}