jstransformer-css

0.2.0 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i jstransformer-css

Weekly Downloads

3

Version

0.2.0

License

MIT

Last publish

Collaborators

  • stoeffel
  • schtoeffel
  • hemanth
  • timothygu
  • calebeby
  • vanchoy
  • tunnckocore