Nightly Patch Machine

    css2object
    TypeScript icon, indicating that this package has built-in type declarations

    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

    5

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    17.3 kB

    Total Files

    8

    Last publish

    Collaborators

    • ooade