A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)
Перейти к файлу
Oliver Byford ea0d6d5396
Fix incorrect PR number in changelog for 3.2.4 (#1438)
2023-04-19 09:44:21 -04:00
.github Temporarily comment out codecov action 2020-12-27 15:25:00 -05:00
bench Add 'use strict'; #1 2015-03-09 22:50:26 +08:00
bin Fix precompile bin TypeError: name.replace is not a function 2020-07-09 14:16:17 -04:00
docs Move chokidar to peerDependencies and make it optional via peerDependenciesMeta (#1329) 2020-11-24 22:40:15 -05:00
nunjucks fix: html encode backslashes if used with escape filter or autoescape (#1437) 2023-04-12 14:31:51 -04:00
samples/express move express sample folder 2018-01-25 11:24:20 -05:00
scripts Fix precompile bin TypeError: name.replace is not a function 2020-07-09 14:16:17 -04:00
tests fix: html encode backslashes if used with escape filter or autoescape (#1437) 2023-04-12 14:31:51 -04:00
.babelrc Drop node v4 support, add node v9 2018-05-19 10:46:35 -04:00
.eslintignore Switch from jshint to eslint, fix linting errors and intent by 2 spaces 2018-01-16 18:00:14 -05:00
.eslintrc.js Disable mocha and browser env on global eslintrc 2018-01-25 11:24:20 -05:00
.gitattributes enforce linux line endings for test files in order to guarantee test success on Windows 2016-01-21 20:46:36 +01:00
.gitignore move express sample folder 2018-01-25 11:24:20 -05:00
.npmignore Add babel transpilation, phantomjs browser tests (with coverage) 2018-01-17 10:54:46 -05:00
CHANGELOG.md Fix incorrect PR number in changelog for 3.2.4 (#1438) 2023-04-19 09:44:21 -04:00
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct file 2019-03-28 11:20:24 -04:00
CONTRIBUTING.md Fix syntax typos in CONTRIBUTING.md 2019-03-05 10:00:30 -05:00
LICENSE update copyright (fixes #425) 2015-05-01 13:32:23 -04:00
MAINTENANCE.md Update maintenance docs. 2016-03-10 14:41:57 -07:00
README.md Replace README.md travis badge with github actions 2020-12-27 13:58:19 -05:00
appveyor.yml Add nodejs versions 10 and 11 to CI, remove 6 and 9 2019-03-04 11:06:59 -05:00
bower.json bower forbids minified js in the main property 2018-02-20 14:06:51 -05:00
codecov.yml Add codecov to CI scripts 2018-01-17 10:54:46 -05:00
contribute.json Add contribute.json file. 2015-03-06 23:59:30 -08:00
package.json Release v3.2.4 2023-04-13 10:41:09 -04:00

README.md

Nunjucks

NPM Version NPM Downloads Linux Build Windows Build Test 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

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