MCPcopy Index your code
hub / github.com/mozilla/nunjucks

github.com/mozilla/nunjucks @v3.2.4

repository ↗ · DeepWiki ↗ · release v3.2.4 ↗ · + Follow
883 symbols 2,733 edges 102 files 37 documented · 4% 21 cross-repo links
README

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

Core symbols most depended-on inside this repo

equal
called by 527
tests/util.js
$
called by 436
docs/bower_components/bootstrap/assets/js/uglify.js
push
called by 338
nunjucks/src/runtime.js
E
called by 190
docs/bower_components/bootstrap/assets/js/less.js
extend
called by 182
nunjucks/src/object.js
finish
called by 175
tests/util.js
_emitLine
called by 134
nunjucks/src/compiler.js
parse
called by 113
nunjucks/src/parser.js

Shape

Function 620
Method 225
Class 38

Languages

TypeScript100%

Modules by API surface

nunjucks/src/compiler.js79 symbols
docs/bower_components/jquery/jquery.js77 symbols
docs/bower_components/bootstrap/assets/js/jquery.js74 symbols
docs/bower_components/jquery/jquery.min.js64 symbols
docs/bower_components/bootstrap/assets/js/uglify.js64 symbols
nunjucks/src/parser.js58 symbols
nunjucks/src/environment.js44 symbols
nunjucks/src/filters.js40 symbols
nunjucks/src/runtime.js27 symbols
nunjucks/src/lib.js26 symbols
nunjucks/src/nodes.js24 symbols
docs/bower_components/bootstrap/assets/js/less.js24 symbols

Dependencies from manifests, versioned

robloach/component-installer* · 1×
@babel/cli7.0.0-beta.38 · 1×
@babel/core7.0.0-beta.38 · 1×
@babel/preset-env7.0.0-beta.38 · 1×
@babel/register7.0.0-beta.38 · 1×
a-sync-waterfall1.0.0 · 1×
asap2.0.3 · 1×
babel-loader8.0.0-beta.0 · 1×
babel-plugin-istanbul4.1.5 · 1×
babel-plugin-module-resolver3.0.0-beta.5 · 1×
browserstack-runner0.0.11 · 1×
commander5.1.0 · 1×

For agents

$ claude mcp add nunjucks \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact