Narwhals Playing Mahjong
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    jstransformer-csspublic

    npm mit license build status coverage status deps status

    Transform CSS to JSON AST using reworkcss/css.

    Install

    npm i --save jstransformer-css
    npm test
    

    Usage

    For more use-cases see the tests

    var css = require('jstransformer-css');
     
    css.render('body {\n  font-size: 12px;\n}');
    //=> json abstract syntax tree

    Related

    • blink: Blink converts Node.js modules into CSS and provides a CSS Authoring Framework, with BEM support.
    • absurd: JavaScript library with superpowers - http://absurdjs.com/
    • css: CSS parser / stringifier
    • rework: Plugin framework for CSS preprocessing
    • gonzales: Gonzales — fast CSS parser
    • postcss: Tool for transforming CSS with JS plugins
    • cssp: CSSP — Ometa-JS based CSS parser
    • cssom: CSS Object Model implementation and CSS parser

    Related

    License MIT license

    Copyright (c) 2015 JSTransformers, Charlike Mike Reagent, contributors.
    Released under the MIT license.


    Proudly generated by docks(1), April 10, 2015

    install

    npm i jstransformer-css

    Downloadsweekly downloads

    194

    version

    0.2.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar