0.0.2 • Published 8 years ago

dogma-css-parser v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

dogma-css-parser

CSS parser and compiler.

npm install dogma-css-parser

Usage

Parser

To parse a CSS string into an AST you can do the following:

import {parse} from 'dogma-css-parser'

const css = '.foo {color: red;}'
const ast = parse(css)

The above example will set the constant ast to the following AST:

Compiler

0.0.2

8 years ago

0.0.1

8 years ago