@romainberger/css-diff
v1.0.3
Published
Get the diff between two css
Downloads
210,843
Readme
CSS Diff
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;
// }