A JavaScript library with superpowers
Javascript based preprocessor. No new language, no new syntax. Write everything in plain JavaScript.
npm install -g absurd<script src="absurd.min.js"></script>AbsurdJS was started as CSS preprocessor, but later it was expanded to a HTML preprocessor. So, at the moment you could transform:
var api = Absurd();
api.add({
body: {
marginTop: "20px",
p: {
color: "#000"
}
}
});
api.compile(function(err, css) {
// use the compiled css
});Middleware
Seeds
Generators
Mixins
Frameworks
CMSs
Misc
No open issues yet, or sync has not completed.