jss-camel-case
JSS plugin that allows to write camel cased rule properties
Last updated 9 years ago by kof .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install jss-camel-case 
SYNC missed versions from official npm registry.

JSS plugin that allows to write camel cased rule properties

Gitter

Internally it converts everything back to dash separated names.

Make sure you read how to use plugins in general.

Example

const styles = {
  container: {
    fontSize: '20px',
    zIndex: 1,
    lineHeight: 1.2
  }
}
.container-a24234 {
  font-size: 20px;
  z-index: 1;
  line-height: 1.2;
}

Demo

Simple

Issues

File a bug against cssinjs/jss prefixed with [jss-camel-case].

Run tests

npm i
npm run test

License

MIT

Current Tags

  • 6.1.0                                ...           latest (9 years ago)

16 Versions

  • 6.1.0                                ...           9 years ago
  • 6.0.0                                ...           9 years ago
  • 5.0.0                                ...           9 years ago
  • 4.0.0                                ...           10 years ago
  • 3.0.0                                ...           10 years ago
  • 2.0.2                                ...           10 years ago
  • 2.0.1                                ...           10 years ago
  • 2.0.0                                ...           10 years ago
  • 1.1.0                                ...           11 years ago
  • 1.0.2                                ...           11 years ago
  • 1.0.1                                ...           11 years ago
  • 1.0.0                                ...           11 years ago
  • 0.2.0                                ...           11 years ago
  • 0.1.2                                ...           11 years ago
  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
Maintainers (1)
Downloads
Total 26
Today 0
This Week 4
This Month 24
Last Day 0
Last Week 20
Last Month 0
Dependencies (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE