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

/@romainberger/css-diff/

    Package Sidebar

    Install

    npm i @romainberger/css-diff

    Weekly Downloads

    33,709

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • romainberger