jss-camel-case
JSS plugin that allows to write camel cased rule properties
Last updated 8 years ago by kof .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (8 years ago)

16 Versions

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

Copyright 2013 - present © cnpmjs.org | Home |