4 ms·
https://github.com/leeoniya/dropcss https://github.com/leeoniya/dropcss still in js, but very fast, ~10KB (min), 0 dependencies, and does not require npm [1]:
by leeoniya 7y ago
https://github.com/leeoniya/dropcss https://github.com/leeoniya/dropcss
still in js, but very fast, ~10KB (min), 0 dependencies, and does not require npm [1]:
however, it expects properly formed html and css; the parsers are quite unforgiving.
(i'm the author)
[1] https://github.com/leeoniya/dropcss/tree/master/dist https://github.com/leeoniya/dropcss/tree/master/dist
- Tomte 7y agoThanks! Properly formed input is not a problem in my case.