migrs / nunjucks

A jinja2-inspired templating system for javascript

Home Page:http://nunjucks.jlongster.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

The current version is v0.1.7 (changelog).

Documentation

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

Contributors

  • James Long (owner)
  • Brent Hagany
  • Thomas Hunkapiller

About

A jinja2-inspired templating system for javascript

http://nunjucks.jlongster.com/

License:BSD 2-Clause "Simplified" License


Languages

Language:JavaScript 99.6%Language:Shell 0.3%Language:Python 0.2%