This is an example repo to get you up and running with CSScomb Core.
Just fork it and modify for your needs.
This example tool is called Flip Comb.
All it does is replace comments in CSS files with /* (╯°□°)╯︵ ┻━┻ */
.
Usage:
var FlipComb = require('flip-comb');
var flipper = new FlipComb({ 'flip-comments': true });
flipper.processDirectory('path/to/css');
Example CSS before:
/* Some important comment */
a {}
/**
* Another one
*/
p {
color: panda; /* Pandas! */
}
And after:
/* (╯°□°)╯︵ ┻━┻ */
a {}
/* (╯°□°)╯︵ ┻━┻ */
p {
color: panda; /* (╯°□°)╯︵ ┻━┻ */
}