Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Moved

This module has moved and is now available at https://github.com/jonkemp/inline-css/tree/master/packages/css-rules. This repository is no longer maintained.

css-rules Build Status Coverage Status

NPM

Returns a parse tree for a CSS source.

Install

Install with npm

npm install --save css-rules

Usage

var parseCSS = require('css-rules');

var rules = parseCSS(css);

rules.forEach(function (rule) {
    console.log(rule[0]);
    console.log(rule[1]);
});

Credit

The code for this module was originally taken from the Juice library.

License

MIT

About

This module has moved and is now available at

Topics

Resources

License

Packages

No packages published
You can’t perform that action at this time.