Get every class in a CSS selector
Returns every class from a CSS selector, as an array.
var classes = require('css-selector-classes'); classes('article.hello > .red') // returns ['hello', 'red']
npm install css-selector-classes
Combine open-source packages with your private code and publish to a private registry behind the firewall. npm ♥ enterprise developers
how? learn more