find css classes
$ npm install find-css-classes
const findCssClasses = require('find-css-classes')
const css = `
.a {
padding: 0;
}
.b:hover, .c {
color: red;
}
.testCase {
color: white;
}
`
findCssClasses(css)
//=> Set{ 'a', 'b', 'c', 'testCase' }
Type: string
css source.
Thanks goes to these wonderful people (emoji key):
akameco ๐ป ๐ |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!
MIT ยฉ akameco