Skip to content

kristianmandrup/absurd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AbsurdJS

Build Status Dependency Status

Overview

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

Installation

npm install -g absurd
<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:

  • JavaScript, JSON, YAML, CSS to CSS
  • JavaScript, JSON, YAML to HTML

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

  • Issues
  • IRC channel at freenode.net: #absurdjs

Extended

Middleware

Seeds

Generators

  • None avaliable yet

Mixins

  • AbsurdHat A proof of concept wrapper for the LessHat set of Mixins

Frameworks

  • DadaJS Go even more absurd with Array Zero Selectors, an inbuilt vocabulary and a grid system utilising PocketGrid

CMSs

  • Techy Super-Simple Flat CMS utilising Markdown as the geeky way of writing articles

Contributors

Resources

  • AbsurdJS fundamentals - link
  • Writing your CSS with JavaScript - link
  • Componentizing the Web - link

Who's Using Absurd?

About

A JavaScript library with superpowers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.3%
  • Other 1.7%