Extracts CSS classes from a selection of markup and formats it into a useable list to paste into your CSS/LESS/SASS/whatever. Uses htmlparser2 so should be reasonably good at finding the right stuff.
Class Extractor adds two commands,
Uses the ncp package, may require external dependencies in Linux and macOS.
Added BEM option for indented languages like LESS and SCSS thanks to @LuisReinoso
Added some install and usage documentation and fixed dependency vulnerabilities
Many minor fixes. Tags with no attributes, empty classes and things other than tags (script blocks, comments etc...) will now be properly ignored
Special thanks to ardcore for this Atom plugin from which this extension draws its origins.