node package manager


Rework preprocessor for struct


Rework preprocessor for struct.

npm install -g rework-struct
  • Automatic prefixing with autoprefixer
  • W3C-style CSS variables
  • Cutting edge browser support ( > ie10 and up )
  • Aggregate all media queries and move it to the end of the file
  • Calc() fn do to simple calculation with variable support

Use it in your css build process

css = rework(css)

If you just want to use it for simple projects which don't require additional user side build steps you can use component-struct

make test