Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mozilla/nunjucks
A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)
https://github.com/mozilla/nunjucks
Last synced: 6 days ago
JSON representation
A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)
- Host: GitHub
- URL: https://github.com/mozilla/nunjucks
- Owner: mozilla
- License: bsd-2-clause
- Created: 2012-08-09T05:40:44.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-02-21T05:46:35.000Z (9 months ago)
- Last Synced: 2024-05-22T17:14:08.471Z (6 months ago)
- Language: JavaScript
- Homepage: https://mozilla.github.io/nunjucks/
- Size: 7.52 MB
- Stars: 8,457
- Watchers: 140
- Forks: 631
- Open Issues: 331
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- stars - mozilla/nunjucks
- awesome-nodejs-cn - nunjucks - 灵感来自于 Jinja2 的具有继承、异步控制等功能的模板引擎 (包 / 模板)
- awesome-frontend-master - mozilla - nunjucks
- awesome-nodejs - nunjucks - Templating engine with inheritance, asynchronous control, and more (jinja2 inspired). ![](https://img.shields.io/github/stars/mozilla/nunjucks.svg?style=social&label=Star) (Repository / Templating)
- awesome-nodejs-cn - nunjucks - **star:8474** 带有继承、异步控制等功能的模板引擎(受jinja2的启发) ![star > 2000][Awesome] (包 / 模板)
- awesome-starred-test - mozilla/nunjucks - A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired) (JavaScript)
- awesome-github-repos - mozilla/nunjucks - A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired) (JavaScript)
- awesome-nodejs - nunjucks - Templating engine with inheritance, asynchronous control, and more (jinja2 inspired). (Packages / Templating)
- awesome-nodejs - nunjucks - A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired) - ★ 5631 (Templating)
- awesome-node - nunjucks - Templating engine with inheritance, asynchronous control, and more (jinja2 inspired). (Packages / Templating)
- awesome-nodejs-cn - nunjucks - 具有继承,异步控制等功能的模板引擎(受Jinja2启发). (目录 / 模板)
- jimsghstars - mozilla/nunjucks - A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired) (JavaScript)
README
# Nunjucks
[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
[![Linux Build][github-actions-image]][github-actions-url]
[![Windows Build][appveyor-image]][appveyor-url]
[![Test Codecov][codecov-image]][codecov-url][Nunjucks](https://mozilla.github.io/nunjucks/) is a full featured
templating engine for javascript. It is heavily inspired by
[jinja2](http://jinja.pocoo.org/). View the docs
[here](https://mozilla.github.io/nunjucks/).## 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](https://github.com/mozilla/nunjucks/releases))
## Documentation
See [here](https://mozilla.github.io/nunjucks/).
## Browser Support
Supported in all modern browsers. For IE8 support, use [es5-shim](https://github.com/es-shims/es5-shim).
## Tests
Run the tests with `npm test`.
Watch `master` branch's [tests running in the browser](https://mozilla.github.io/nunjucks/files/tests/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](CONTRIBUTING.md).
[Contributors](https://github.com/mozilla/nunjucks/graphs/contributors)
[npm-image]: https://img.shields.io/npm/v/nunjucks.svg
[npm-url]: https://npmjs.org/package/nunjucks
[downloads-image]: https://img.shields.io/npm/dm/nunjucks.svg
[downloads-url]: https://npmjs.org/package/nunjucks
[github-actions-image]: https://img.shields.io/github/workflow/status/mozilla/nunjucks/Tests/master.svg?label=linux
[github-actions-url]: https://github.com/mozilla/nunjucks/actions
[appveyor-image]: https://img.shields.io/appveyor/ci/fdintino/nunjucks/master.svg?label=windows
[appveyor-url]: https://ci.appveyor.com/project/fdintino/nunjucks
[codecov-image]: https://img.shields.io/codecov/c/gh/mozilla/nunjucks.svg
[codecov-url]: https://codecov.io/gh/mozilla/nunjucks/branch/master