Nonchalant Programming Master
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

css2object

0.1.0 • Public • Published

CSS To Object/JSON

npm travis downloads/month pullrequest firsttimersonly

Installation

npm add css2object

Usage

import Css2Object from 'css2object';
const cssData = `
 h1 {
     color: blue;
 }
 
 body {
     color: red;
 }
`
const css2json = new Css2Object(cssData);
css2json.read();
console.log(css2json.cssRecord));

LICENSE

MIT

Install

npm i css2object

DownloadsWeekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

17.3 kB

Total Files

8

Last publish

Collaborators

  • avatar