Bart Veneman
Bart Veneman
A bit like https://report-uri.io/home/analyse/ does? (Try entering https://github.com/ as url)
I have been using this library for years on projectwallace.com and all underlying projects and has done a terrific job. I'm currently rewriting the complete analyzer using csstree, which creates...
Well... I had implemented [a working version]( https://gist.github.com/bartveneman/3df03dd45aee72f4c26184679fb06d2a) and after some twitter conversations, @lahmatiy went along and added it to csso: https://github.com/css/csso/commit/7af7388b5f8e29ce297438caf53ae24ae72c88b3 He also mentioned that he might [add it...
I have created a [Proof Of Concept repo using CSSTree](https://github.com/projectwallace/specificity) and it works beautifully. I've copied over the CSSO implementation and tests and put it into a single script. I...
> I think we will need to be driven by the decision in csstree/csstree#158 I agree on that 👍 --- > If this second option goes ahead would you like...
According to Bundlephobia: ------------------------------------ | Library | Minified size | Minzipped | |--------|--------------|----------| | [Specificity](https://bundlephobia.com/[email protected]) | 2.2kB | 494B | | [CSSTree](https://bundlephobia.com/[email protected]) | 380.7kB | 63.3kB | That's quite the...
Thanks, that's a very clear picture! I'll just wait until that's ready 😁
Looks like @bramus did the work and implemented the CSSTree approach in a new library: https://github.com/bramus/js-specificity
@jeroen-severein Could you chime in and give some thoughts on the above?
It could be useful to replace Meow with Sade, to gain support for subcommands (meow lacks them): https://www.npmjs.com/package/sade