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

Dependencies (2)

Dev Dependencies (8)

Package Sidebar

Install

npm i @romainberger/css-diff

Weekly Downloads

28,153

Version

1.0.3

License

MIT

Last publish

Collaborators

  • romainberger