
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
Joined September 2016
- Tweets122
- Following0
- Followers212
- Likes40
csstree retweeted
💖 These two months, we redistributed our funds to @satanacchio, @johnsoncodehk, @geteslint, libvips, @csstree, Discovery.js, @pnpmjs, @iconify_design for their amazing work!
🙏 Thanks to @logto_io and all the sponsors for making this possible!
opencollective.com/antfu/upd…
csstree retweeted
I've just contributed to @csstree. Consider supporting them too — every little helps! opencollective.com/csstree via @opencollect
csstree retweeted
[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
openwebdocs.org/content/post…
csstree retweeted
📦 Package of the Day
css-tree
npmjs.com/package/css-tree
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
csstree retweeted
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.
github.com/csstools/tokenize…
csstree retweeted
🚀 CSSO 5.0 just published
Migrated to ESM (CommonJS is still supported), added support for CSS Selectors Level 4 in specificity calculation
Release notes: github.com/css/csso/releases…
csstree retweeted
BTW, big up on @csstree – IMHO the most advanced Open Source CSS parser around. Learned a lot from it. You can drop me a message if you'd like to talk more about CSS – my DMs are open 😄
csstree retweeted
CSS syntax is hard and that’s why:
csstree retweeted
csstree might be the only actual grammar implementation; I'm certainly not aware of any others!
Implicit commas being complicated makes sense, given how annoying it is to write some grammars *without* the feature. ^_^
csstree retweeted
Good talk by @rdvornov how he wrote @csstree, CSS parser which 3 times faster than @PostCSS.
slideshare.net/basisjs/css-p…
csstree retweeted
It’s so inspiring, just now @sitnikcode (author of @PostCSS, @Autoprefixer and many others) promoted @csstree on the @pitercss_conf stage 😍
csstree retweeted
📣 compat-tester 0.2.1 is out 📣
🔗 npmjs.com/package/compat-tes…
compat-tester uses @MozDevNet new structured dataset about compatibility to diagnose a (local) website or files about potential compatibilities issues
🐣Alpha-stage and I'm new to Node/npm world so proceed w/ care🐣
csstree retweeted
I feel like Robin Hood, helped a couple of good projects better use @csstree. As a result, cleaner code, robust solutions and better performance.
Here are the merged PRs 😎
github.com/peterbe/minimalcs…
github.com/pocketjoso/pentho…
csstree retweeted
CSSO 3.5 is out – reworked to use latest @csstree (1.0.0-alpha.27)
github.com/css/csso/releases…
csstree retweeted
Actually helpful nitter.cf/csstree/status/8750522…
🔥 New CSSTree match tree (WIP) will be much useful!
Syntax reference already used it for match trace 😍
Try it out: csstree.github.io/docs/synta…
csstree retweeted
Replying to @Jack_Franklin
We use stylelint, but github.com/csstree/csstree also looks interesting (with IDE plugins)
csstree retweeted
1.0.0-alpha23/24 – Changes in AST format for Rule & Atrule, minor bug fixes and improvements
github.com/csstree/csstree/r…
github.com/csstree/csstree/r…
csstree retweeted
Just tried github.com/csstree/stylelint… on a big project and it's fantastic. 👍 @rdvornov! (Another reason to consider plain CSS.)
csstree retweeted
Used css-tree by @rdvornov to generate flow typing for CSS properties: coming soon to github.com/prometheusresearc… more type safety to CSS-in-JS!



























