Home

Awesome

AbsurdJS

Build Status Dependency Status CDNJS

Overview

Javascript based preprocessor. No new language, no new syntax. Write everything in plain JavaScript.

Installation

Server-side

npm install -g absurd

Client-side

<script src="absurd.min.js"></script>

About

AbsurdJS was started as CSS preprocessor, but later it was expanded to a HTML preprocessor. So, at the moment you could transform:

Usage

	var api = Absurd();
	api.add({
		body: {
			marginTop: "20px",
			p: {
				color: "#000"
			}
		}
	});
	api.compile(function(err, css) {
		// use the compiled css
	});

Official site, documentation and online compilator

http://absurdjs.com/

Contribution and feedback

Extended

Middleware

Seeds

Generators

Mixins

Frameworks

CMSs

Misc

Contributors

Resources

Who's Using Absurd?