Socket
Socket
Sign inDemoInstall

jss-camel-case

Package Overview
Dependencies
7
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

jss-camel-case

JSS plugin that allows to write camel cased rule properties


Version published
Maintainers
1
Weekly downloads
121,936
decreased by-10.79%

Weekly downloads

Readme

Source

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

Keywords

FAQs

Last updated on 08 Feb 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc