Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A jinja2-inspired templating system for javascript
JavaScript Other
branch: master

This branch is 606 commits behind mozilla:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bench
bin
browser
docs
src
tests
.gitignore
.npmignore
LICENSE
Makefile
README.md
index.html
index.js
package.json

README.md

Nunjucks

Nunjucks is a full featured templating engine for javascript. It is a direct port of the Python-powered jinja2 templating engine and aims to be feature-complete with jinja2.

It was born out of frustration with other javascript templating engines. The most popular ones either are ugly and don't abstract enough (EJS) or have too different of a syntax (Jade).

The only other project like this is jinjs, which seems to have been abandoned. The code is also not Javascript, but Coco, is difficult to work on, has bugs, and is missing features. Nunjucks hopes to be a robust, pure javascript, and easily extended port of jinja2.

Installation

npm install nunjucks

Documentation

See http://nunjucks.jlongster.com/ for complete documentation.

Something went wrong with that request. Please try again.