csstss

A CSS to TSS (Titanium Style Sheet) compiler.

npm install csstss
3 downloads in the last week
6 downloads in the last month

CSSTSS

A CSS to TSS (Titanium Style Sheet) compiler.

Usage

Example

compile = require "csstss"
tss = compile "Label, Button { font-family: Arial; }"

Output

"Label": {
    "font": {
        "fontFamily": "Arial"
    }
}
"Button": {
    "font": {
        "fontFamily": "Arial"
    }
}
npm loves you