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
Private packages, team management tools, and powerful integrations. Get started with npm Orgs
how? learn more