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
With npm private modules, you can use the npm registry to host your own private code and the npm command line to manage it. Learn more…
how? learn more