css-selector-classes

Get every class in a CSS selector

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
css-selector-classes
000.1.29 years ago10 years agoMinified + gzip package size for css-selector-classes in KB

Readme

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