0.2.1 • Published 6 years ago

find-css-classes v0.2.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

find-css-classes

Build Status tested with jest styled with prettier All Contributors

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):

akameco💻 📖 ⚠️ 🚇

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT © akameco