cassis Write CSS in JS. Install npm install cassis Usage Create from object import { Stylesheet } from 'cassis'; const css = new Stylesheet(); console.log(css.toString()); html { font-size: 100%;}@media (max-device-width : 600px) { body { font-size: 32px; }}