2.4.0 • Published 7 years ago

styled-to-jss v2.4.0

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

Version is still in beta and only does line by line convertions at the moment

Set up

We use yarn as our package manager. To get dependencies run yarn install For development run: yarn install --dev

CLI usage

Run yarn global add styled-to-jss or npm install styled-to-jss -g if you use npm Example usage styled-to-jss --path="./style.js" --output="./style.converted.js"

Flags

--path [Relative path to the file that will be converted]
--output [Where the converted version be written to (if not specified it will output to stdout)]

Regular usage

  import extractor from 'styled-to-jss';
  const newString = extractor('background-color: red;');
  console.log(newString);// backgroundColor: 'red',
2.4.0

7 years ago

2.3.0

7 years ago

2.2.0

7 years ago

2.1.0

7 years ago

2.0.5

7 years ago

2.0.0

7 years ago

1.0.2

7 years ago