A tool set for working with with CSS including fast detailed parser, walker, generator and lexer based on knowledge of W3C specs and browser implementations
🚀 VSCode CSSTree validator v1.2
Now powered by CSSTree 3.0, featuring enhanced warnings for unknown properties, descriptors, and at-rules. Improved error highlighting makes catching CSS issues easier than ever.
https://t.co/3Fe0Cv1zWh
🚀 CSSTree validator v4.0
Now powered by the latest CSSTree 3.0, featuring enhanced support for modern CSS syntax. Check it out!
https://t.co/cUJz9mAEHr
🚀 CSSTree 3.0 is here!
Featuring support for modern at-rules, improvements to query-related at-rules, spec alignments, other enhancements and bug fixes, and more.
Release notes: https://t.co/F29mygPo9O
@projectwallace Most part of it is a syntax definition dictionary. It can be tree-shaken in theory, but it’s complicated in general. You may try to import lexer alone and use your own dictionary for it (see exports section in readme https://t.co/HNDqzALmBR)
[New blog post] How we improved the CSS formal syntax sections on @MozDevNet with the help of @csstree (h/t @rdvornov) and the @w3cdevs webref/css package
https://t.co/XfLxv6rOB8
📦 Package of the Day
css-tree
https://t.co/uS3Ik34Xep
CSSTree is a toolset for CSS; fast detailed parser, walker, generator and lexer (validation and matching) based on specs and browser implementations.
#javascript#nodejs#npmPackageOfTheDay#100DaysOfCode
@rtsao@devongovett CSSTree is such tool https://t.co/qz0sMmY53L
It uses CSS definition syntax to match values
You can try to test a value against a syntax using this playground https://t.co/bPgb6KZcHe
CSSTree v2’s tokenizer is the absolute fastest, with a comfortable lead, and the semantically correct number of tokens.
@rdvornov even fixed tests that inaccurately benchmarked CSSTree v1. Thank you, from the web.
https://t.co/8rdyzoOone