mozilla/nunjucks

A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)

JavaScript

9,003

1,273 commits

updated Oct 3, 2026

See the code

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

Significant stargazers

(top 24 of 49)

John Bampton

444 followers · starred Aug 2025

Justin Beckwith

746 followers · starred May 2018

Friedel Ziegelmayer

1,034 followers · starred Aug 2012

Chris Rebert

2,333 followers · starred Jan 2016

mozilla/nunjucks

A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)

JavaScript

9,003

1,273 commits

updated Oct 3, 2026

See the code

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

Significant stargazers

(top 24 of 49)

John Bampton

444 followers · starred Aug 2025

Justin Beckwith

746 followers · starred May 2018

Friedel Ziegelmayer

1,034 followers · starred Aug 2012

Chris Rebert

2,333 followers · starred Jan 2016