{ "name": "jade", "description": "Jade template engine", "version": "1.6.0", "author": { "name": "TJ Holowaychuk", "email": "tj@vision-media.ca" }, "maintainers": [ { "name": "forbeslindesay", "email": "forbes@lindesay.co.uk" }, { "name": "bloodyowl" }, { "name": "jbnicolai", "email": "joshua@jbna.nl" } ], "license": "MIT", "repository": { "type": "git", "url": "git://github.com/visionmedia/jade" }, "main": "./index.js", "bin": { "jade": "./bin/jade.js" }, "dependencies": { "character-parser": "1.2.0", "commander": "2.1.0", "constantinople": "~2.0.0", "mkdirp": "~0.5.0", "monocle": "1.1.51", "transformers": "2.1.0", "void-elements": "~1.0.0", "with": "~3.0.0" }, "devDependencies": { "coffee-script": "*", "mocha": "*", "istanbul": "*", "markdown": "*", "stylus": "*", "should": "*", "less": "*", "uglify-js": "*", "browserify": "*", "linify": "*", "less-file": "0.0.8", "express": "~3.4.8", "browserify-middleware": "~2.4.0", "twbs": "0.0.6", "highlight-codemirror": "~3.20.0", "inconsolata": "0.0.2", "jade-code-mirror": "~1.0.5", "code-mirror": "~3.22.0", "handle": "~1.0.0", "jade-highlighter": "~1.0.5", "marked": "~0.3.2", "stop": "^3.0.0-rc1", "opener": "^1.3.0", "github-basic": "^3.0.0", "pull-request": "^3.0.0", "lsr": "^1.0.0", "rimraf": "^2.2.8" }, "component": { "scripts": { "jade": "runtime.js" } }, "scripts": { "test": "mocha -R spec && npm run coverage", "coverage": "istanbul cover node_modules/mocha/bin/_mocha", "prepublish": "npm prune && linify transform bin && npm run build", "build": "npm run compile", "compile": "npm run compile-full && npm run compile-runtime", "compile-full": "browserify ./lib/jade.js --standalone jade -x ./node_modules/transformers > jade.js", "compile-runtime": "browserify ./lib/runtime.js --standalone jade > runtime.js" }, "browser": { "./lib/filters.js": "./lib/filters-client.js" }, "readme": "# [![Jade - template engine ](http://i.imgur.com/5zf2aVt.png)](http://jade-lang.com/)\n\nFull documentation is at [jade-lang.com](http://jade-lang.com/)\n\n Jade is a high performance template engine heavily influenced by [Haml](http://haml-lang.com)\n and implemented with JavaScript for [node](http://nodejs.org). For discussion join the [Google Group](http://groups.google.com/group/jadejs).\n\n You can test drive Jade online [here](http://naltatis.github.com/jade-syntax-docs).\n\n [![Build Status](https://img.shields.io/travis/visionmedia/jade/master.svg)](https://travis-ci.org/visionmedia/jade)\n [![Dependency Status](https://img.shields.io/gemnasium/visionmedia/jade.svg)](https://gemnasium.com/visionmedia/jade)\n [![NPM version](https://img.shields.io/npm/v/jade.svg)](http://badge.fury.io/js/jade)\n\n## Installation\n\nvia npm:\n\n```bash\n$ npm install jade\n```\n\n## Syntax\n\nJade is a clean, whitespace sensitive syntax for writing html. Here is a simple example:\n\n```jade\ndoctype html\nhtml(lang=\"en\")\n head\n title= pageTitle\n script(type='text/javascript').\n if (foo) bar(1 + 5)\n body\n h1 Jade - node template engine\n #container.col\n if youAreUsingJade\n p You are amazing\n else\n p Get on it!\n p.\n Jade is a terse and simple templating language with a\n strong focus on performance and powerful features.\n```\n\nbecomes\n\n\n```html\n\n\n
\nYou are amazing
\nJade is a terse and simple templating language with a strong focus on performance and powerful features.
\n