node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

css-selector-classes

css-selector-classes

Returns every class from a CSS selector, as an array.

build status

example

var classes = require('css-selector-classes');
 
classes('article.hello > .red') // returns ['hello', 'red'] 

install

npm install css-selector-classes

license

MIT