Nunjucks

A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)
GitHub
8.73k
Created 13 years ago, last commit 9 days ago
138 contributors
1.33k commits
Stars added on GitHub, month by month
6
7
8
9
10
11
12
1
2
3
4
5
2024
2025
Stars added on GitHub, per day, on average
Yesterday
+1
Last week
+0.9
/day
Last month
+0.9
/day
Last 12 months
+0.7
/day
npmPackage on NPM
Monthly downloads on NPM
6
7
8
9
10
11
12
1
2
3
4
5
2024
2025
README

Nunjucks

NPM Version NPM Downloads CI Codecov

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

Installation

npm install nunjucks

To use the file watcher built-in to Nunjucks, Chokidar must be installed separately.

npm install nunjucks chokidar

(View the CHANGELOG)

Documentation

Nunjucks info and documentation source is in /docs and publishes to https://mozilla.github.io/nunjucks/

Browser Support

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

Tests

Run the tests with npm test.

Get in touch

If you have ideas or questions, or need help, you can reach us in the #nunjucks:mozilla.org room on Matrix.

Want to help?

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

Contributors

Contributors graph. Avatars provided by https://contrib.rocks