A fork of Mozilla nunjucks with the following changes:
- Dependency simplification:
- Removes precompile CLI (
commanderdependency) - Removes
watchoption (chokidardependency)
- Removes precompile CLI (
- Node 20+ minimum
- Removes the slim bundle for simplicity (it is not used in Build Awesome/11ty).
- Full
asyncand Promise-based refactor.
Nunjucks is a full featured templating engine for javascript. It is heavily inspired by jinja2. View the docs here.
npm install @11ty/nunjucks
(View the CHANGELOG)
Nunjucks info and documentation source is in /docs and publishes to https://mozilla.github.io/nunjucks/
Supported in all modern browsers.
Run the tests with npm test.
If you have ideas or questions, or need help, you can reach us in the #nunjucks:mozilla.org room on Matrix.
Contributions are always welcome! Before you submit an issue or pull request, please read our contribution guidelines.