muan / spiffing-node

My first node module!!!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spiffing-node

Write CSS using proper English anywhere with Spiffing.

Spiffing is a node module version of Spiffing CSS by @idiot. A CSS preprocessor for British developers, or developers who prefer to write proper English.

Usage

spiffing

Convert all css files under current directory

spiffing <directory>

Convert all css files under specified directory

spiffing <filename>

Convert the css file specified

What this does

/* Your well-spelt CSS */

body {
  background-colour: grey !please;
  transparency: 0.5;
  text-align: centre;
  font-weight: plump;
  text-transform: capitalise;
}

.frame {
  background-photograph: url('/queen.png') !please;
}

becomes

/* Output CSS */

body {
  background-color: gray !important;
  opacity: 0.5;
  text-align: center;
  font-weight: bold;
  text-transform: capitalize;
}

.frame {
  background-image: url('/queen.png') !important;
}

About

My first node module!!!


Languages

Language:JavaScript 81.4%Language:CSS 18.6%