Skip to content
 
 

Repository files navigation

@11ty/nunjucks

A fork of Mozilla nunjucks with the following changes:

  • Dependency simplification:
    • Removes precompile CLI (commander dependency)
    • Removes watch option (chokidar dependency)
  • Node 20+ minimum
  • Removes the slim bundle for simplicity (it is not used in Build Awesome/11ty).
  • Full async and Promise-based refactor.

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

Installation

npm install @11ty/nunjucks

(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.

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

About

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

Resources

Code of conduct

Contributing

Stars

30 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages