Lea Verou 7.09.2020

Parsel: A tiny, permissive CSS selector parser

Przeczytaj oryginał

Parsel is a lightweight, permissive CSS selector parser created for the Web Almanac project. It parses CSS selectors into an AST, includes methods to walk the AST, and calculates specificity. The library is available as an ES module or a global script and was designed to handle realistic, valid selectors while remaining small and future-proof.

Parsel: A tiny, permissive CSS selector parser

komentarzy

Brak komentarzy

Bądź pierwszy, który podzieli się swoimi myślami!

Rozszerzenie przeglądarki

Uzyskaj natychmiastowy dostęp do AllDevBlogs z przeglądarki

Tydzień

No top articles yet