A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)
JavaScript HTML Other
Clone or download
Permalink
Failed to load latest commit information.
.github Comment out notes in pull request template Nov 5, 2016
bench Add 'use strict'; #1 Mar 9, 2015
bin Add babel transpilation, phantomjs browser tests (with coverage) Jan 17, 2018
docs Add "forceescape" filter Mar 21, 2018
nunjucks Fix "Invalid type: Is" error when using {% if x is defined %} May 19, 2018
samples/express move express sample folder Jan 25, 2018
scripts Fix postinstall-build packaging issue, v3.1.2 Feb 24, 2018
tests Add unit tests for {% if x is [not] defined %}. refs #1110 May 19, 2018
.babelrc Drop node v4 support, add node v9 May 19, 2018
.eslintignore Switch from jshint to eslint, fix linting errors and intent by 2 spaces Jan 16, 2018
.eslintrc.js Disable mocha and browser env on global eslintrc Jan 25, 2018
.gitattributes enforce linux line endings for test files in order to guarantee test … Jan 21, 2016
.gitignore move express sample folder Jan 25, 2018
.npmignore Add babel transpilation, phantomjs browser tests (with coverage) Jan 17, 2018
.travis.yml Drop node v4 support, add node v9 May 19, 2018
CHANGELOG.md 3.13 release - fix typo in CHANGELOG May 19, 2018
CONTRIBUTING.md Update CONTRIBUTING.md to reflect supported node releases [ci skip] May 19, 2018
LICENSE update copyright (fixes #425) May 1, 2015
MAINTENANCE.md Update maintenance docs. Mar 10, 2016
README.md Nunjucks now has a maintainer; remove msg in README saying otherwise May 11, 2017
appveyor.yml Drop node v4 support, add node v9 May 19, 2018
bower.json bower forbids minified js in the main property Feb 20, 2018
codecov.yml Add codecov to CI scripts Jan 17, 2018
contribute.json Add contribute.json file. Mar 7, 2015
package.json Release 3.1.3 May 19, 2018
postinstall-build.js Fix postinstall-build packaging issue, v3.1.2 Feb 24, 2018

README.md

Nunjucks

Nunjucks is a full featured templating engine for javascript. It is heavily inspired by jinja2. View the docs here.

Installation

npm install nunjucks

(View the CHANGELOG)

Documentation

See here.

Browser Support

Supported in all modern browsers. For IE8 support, use es5-shim.

Tests

Run the tests with npm test.

Watch master branch's tests running in the browser.

Mailing List

Join our mailing list and get help with and issues you have: https://groups.google.com/forum/?fromgroups#!forum/nunjucks

Want to help?

Contributions are always welcome! Before you submit an issue or pull request, please read our contribution guidelines.

Contributors