1.0.3 • Published 8 years ago

@romainberger/css-diff v1.0.3

Weekly downloads
44,981
License
MIT
Repository
github
Last release
8 years ago

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;
// }