Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
.gitignore
README.md
index.js
package.json

README.md

Nunjucks Middleware

See example/

 app.use(nunjucksMiddleware({
    src: "/views",
    output: "/public/js/templates.js",
    endpoint: "/js/templates.js",
    express: app,
    debug: true
  }));
  app.use(app.router);
  app.use(express.static(__dirname + '/public'));
Something went wrong with that request. Please try again.