Socket
Book a DemoInstallSign in
Socket

jstransformer-css

Package Overview
Dependencies
Maintainers
5
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jstransformer-css

Transform CSS to JSON AST using `reworkcss/css`.

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
5
Created
Source

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
  • 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

License MIT license

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

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

Keywords

jstransformer

FAQs

Package last updated on 10 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts