Package Exports
- nunjucks
- nunjucks/browser/nunjucks
- nunjucks/package.json
- nunjucks/src/compiler
- nunjucks/src/environment
- nunjucks/src/filters
- nunjucks/src/lexer
- nunjucks/src/lib
- nunjucks/src/loaders
- nunjucks/src/node-loaders
- nunjucks/src/nodes
- nunjucks/src/object
- nunjucks/src/parser
- nunjucks/src/runtime
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nunjucks) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Nunjucks
Nunjucks is a full featured templating engine for javascript. It is a direct port of the Python-powered jinja2 templating engine and aims to be feature-complete with jinja2.
It was born out of frustration with other javascript templating engines. The most popular ones either are ugly and don't abstract enough (EJS) or have too different of a syntax (Jade).
The only other project like this is jinjs, which seems to have been abandoned. The code is also not Javascript, but Coco, is difficult to work on, has bugs, and is missing features. Nunjucks hopes to be a robust, pure javascript, and easily extended port of jinja2.
Installation
npm install nunjucks
Documentation
See http://nunjucks.jlongster.com/ for complete documentation.