bertjohnson / csscompare Goto Github PK
View Code? Open in Web Editor NEWNaive file comparison between two stylesheets. Outputs differences between versions.
Home Page: https://bertjohnson.com
License: MIT License
Naive file comparison between two stylesheets. Outputs differences between versions.
Home Page: https://bertjohnson.com
License: MIT License
Hi @bertjohnson,
Just quickly wanted to share that a port to TypeScript has been completed and packaged for npm as css-delta
(compare was taken.)
I did my best to make sure the attribution is accurate and complete, but please let me know if you see any issues you would like me to correct.
Thanks,
Daniel
Here's an example output:
h2{
padding-top: 10px
background: blue
}
There should be a semi-colon delimiter between the styles (and optionally after the last style):
h2{
padding-top: 10px;
background: blue
}
Rule blocks with multiple selectors on more than one line do not produce the correct results.
For example, with v1 file of
h1,
h2 {
background: blue;
}
And a a v2 file of
h1,
h2 {
background: white;
}
The result is
h2 {
background: blue
}
Notice that only the last selector (h2) is in the output.
Hello, where can I find a compliled exe of v2.3?
Both file argurments are ignored and overwritten to point to your dropbox red and blue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.