css-to-typestyle
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

CSS to TypeStyle converter

Convert your raw CSS to TypeScript

npm version Build Status Downloads

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
  });

Readme

Keywords

none

Package Sidebar

Install

npm i css-to-typestyle

Weekly Downloads

19

Version

0.0.9

License

MIT

Last publish

Collaborators

  • basarat
  • notoriousb1t