Neoteric Plumbing Mishap

    @romainberger/css-diff

    1.0.3 • Public • Published

    CSS Diff Build Status

    Get the diff between two css.

    Installation

    $ npm install @romainberger/css-diff

    Usage

    const cssDiff = require('@romainberger/css-diff')
    
    const cssA = `
    body {
      background: white;
      color: red;
    }
    `
    
    const cssB = `
    body {
      background: white;
      color: blue;
    }
    `
    
    const diff = cssDiff(cssA, cssB)
    // body {
    //   color: blue;
    // }

    Keywords

    Install

    npm i @romainberger/css-diff

    DownloadsWeekly Downloads

    23,251

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • romainberger