{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic"},{"label":"Compilers","url":"https://skillfed.io/packages/category/software-development-compilers"}],"enrichment":{"capability":"Provides a CSS grammar parser for tree-sitter, enabling incremental parsing and syntax tree analysis of CSS code.","skillfed_tags":["parsing","tree-sitter","css"],"use_cases":["Build a CSS linter or formatter that understands the full syntax tree of stylesheets.","Implement a code editor with incremental CSS parsing for real-time syntax highlighting and error detection.","Analyze CSS codebases to extract selectors, properties, or dependencies for refactoring or auditing.","Create a CSS-aware code transformation tool that modifies stylesheets while preserving structure.","Develop a static analysis tool that detects CSS anti-patterns or unused rules."],"what_it_does":"tree-sitter-css is a language grammar module that plugs into the tree-sitter incremental parser framework to parse CSS code into syntax trees. It is not a standalone parser but rather a grammar definition that works with tree-sitter's core parsing engine, which must be installed separately. The package provides precompiled binaries for multiple platforms and Python versions, making it straightforward to add CSS parsing capabilities to Python applications that already use tree-sitter.\n\nThe grammar enables applications to parse CSS incrementally\u2014updating only the parts of the syntax tree that changed when the source is edited\u2014rather than reparsing the entire file. This is useful for code editors, linters, static analyzers, and other tools that need to understand CSS structure and maintain performance during interactive use.","worth_installing":"Yes, if you are already using tree-sitter in your Python project and need to parse CSS. The package is well-maintained within the tree-sitter ecosystem, has no known vulnerabilities, and offers permissive licensing. Medium install friction is typical for compiled language bindings. Not worth installing if you need a standalone CSS parser or do not already have tree-sitter as a dependency."},"id":"tree-sitter-css","links":{"html":"https://skillfed.io/packages/tree-sitter-css","md":"https://skillfed.io/packages/tree-sitter-css.md","pypi":"https://pypi.org/project/tree-sitter-css/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-09-28","license_spdx":null,"license_treatment":"permissive","name":"tree-sitter-css","python_support":"supports_current","summary":"CSS grammar for tree-sitter"},"popularity":{"monthly_downloads":2074204,"position":3319,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.25.0"}
