[![Build Status](https://travis-ci.org/ForbesLindesay/transformers.png?branch=master)](https://travis-ci.org/ForbesLindesay/transformers) # transformers String/Data transformations for use in templating libraries, static site generators and web frameworks. This gathers the most useful transformations you can apply to text or data into one library with a consistent API. Transformations can be pretty much anything but most are either compilers or templating engines. ## Supported transforms To use each of these transforms you will also need to install the associated npm module for that transformer. ### Template engines - [atpl](http://documentup.com/soywiz/atpl.js) - Compatible with twig templates - [coffeecup](http://documentup.com/gradus/coffeecup) - pure coffee-script templates (fork of coffeekup) - [dot](http://documentup.com/olado/doT) [(website)](https://github.com/Katahdin/dot-packer) - focused on speed - [dust](http://documentup.com/akdubya/dustjs) [(website)](http://akdubya.github.com/dustjs/) - asyncronous templates - [eco](http://documentup.com/sstephenson/eco) - Embedded CoffeeScript templates - [ect](http://documentup.com/baryshev/ect) [(website)](http://ectjs.com/) - Embedded CoffeeScript templates - [ejs](http://documentup.com/visionmedia/ejs) - Embedded JavaScript templates - [haml](http://documentup.com/visionmedia/haml.js) [(website)](http://haml-lang.com/) - dry indented markup - [haml-coffee](http://documentup.com/netzpirat/haml-coffee/) [(website)](http://haml-lang.com/) - haml with embedded CoffeeScript - [handlebars](http://documentup.com/wycats/handlebars.js/) [(website)](http://handlebarsjs.com/) - extension of mustache templates - [hogan](http://documentup.com/twitter/hogan.js) [(website)](http://twitter.github.com/hogan.js/) - Mustache templates - [jade](http://documentup.com/visionmedia/jade) [(website)](http://jade-lang.com/) - robust, elegant, feature rich template engine - [jazz](http://documentup.com/shinetech/jazz) - [jqtpl](http://documentup.com/kof/jqtpl) [(website)](http://api.jquery.com/category/plugins/templates/) - extensible logic-less templates - [JUST](http://documentup.com/baryshev/just) - EJS style template with some special syntax for layouts/partials etc. - [liquor](http://documentup.com/chjj/liquor) - extended EJS with significant white space - [mustache](http://documentup.com/janl/mustache.js) - logic less templates - [QEJS](http://documentup.com/jepso/QEJS) - Promises + EJS for async templating - [swig](http://documentup.com/paularmstrong/swig) [(website)](http://paularmstrong.github.com/swig/) - Django-like templating engine - [templayed](http://documentup.com/archan937/templayed.js/) [(website)](http://archan937.github.com/templayed.js/) - Mustache focused on performance - [toffee](http://documentup.com/malgorithms/toffee) - templating language based on coffeescript - [underscore](http://documentup.com/documentcloud/underscore) [(website)](http://documentcloud.github.com/underscore/) - [walrus](http://documentup.com/jeremyruppel/walrus) - A bolder kind of mustache - [whiskers](http://documentup.com/gsf/whiskers.js/tree/) - logic-less focused on readability ### Stylesheet Languages - [less](http://documentup.com/cloudhead/less.js) [(website)](http://lesscss.org/) - LESS extends CSS with dynamic behavior such as variables, mixins, operations and functions. - [stylus](http://documentup.com/learnboost/stylus) [(website)](http://learnboost.github.com/stylus/) - revolutionary CSS generator making braces optional - [sass](http://documentup.com/visionmedia/sass.js) [(website)](http://sass-lang.com/) - Sassy CSS ### Minifiers - [uglify-js](http://documentup.com/mishoo/UglifyJS2) - No need to install anything, just minifies/beautifies JavaScript - [uglify-css](https://github.com/visionmedia/css) - No need to install anything, just minifies/beautifies CSS - ugilify-json - No need to install anything, just minifies/beautifies JSON ### Other - cdata - No need to install anything, just wraps input as `` with the standard escape for `]]>` (`]]]]>`). - cdata-js - as `cdata`, but with surrounding comments suitable for inclusion into a HTML/JavaScript `