0.0.9 • Published 7 years ago
css-to-typestyle v0.0.9
CSS to TypeStyle converter
Convert your raw CSS to TypeScript
Why build this?
CSS comes from all kinds of sources. Rather than sticking css in cssRaw in TypeStyle, why not convert it to TypeStyle?
How to use it
import { convertCss } from 'css-to-typestyle';
convertCss('.redClass{ color: red }')
.then((typestyleSource) => {
// write out to file
});