find-css-classes
v0.2.1
Published
find css classes
Downloads
15
Readme
find-css-classes
find css classes
Install
$ npm install find-css-classes
Usage
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' }
API
findCssClasses(css)
css
Type: string
css source.
Contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
License
MIT © akameco