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
It’s never been easier to manage developer teams with varying permissions and multiple projects. Learn more about Private Packages and Organizations…
how? learn more