Skip to content
The Jinja templating language ported to Javascript, usable with NodeJS and compatible with browserify.
JavaScript Shell
Latest commit 4b5aa84 Mar 13, 2012 Christophe Eymard Adding .npmignore to avoid name clash with .gitignore.
Failed to load latest commit information.
lib
src
test Add support for 'elif' as seen here: http://jinja.pocoo.org/docs/temp… Mar 13, 2012
.gitignore
.hgignore Change of parsing : expressions are now resolved with a custom PegJS … Aug 3, 2011
.hgtags
.npmignore
LICENSE.md First Import : working but ugly parser, preliminary version of a new … Jun 12, 2011
README.md
compile
package.json v0.3.6: Fixed Express problems with strange super calls. Feb 14, 2012
refresh_module_tpl.sh New module.tpl regenerated by new version. Sep 28, 2011

README.md

JinJS

As stated on Jinja's home page, "Jinja Is Beautiful"

{% extends "layout.html" %}
{% block body %}
  <ul>
  {% for user in users %}
    <li><a href="{{ user.url }}">{{ user.username }}</a></li>
  {% endfor %}
  </ul>
{% endblock %}

JinJS is the native port of Jinja to the world of NodeJS. Just like Jinja, it aims to transform template documents to native javascript code to maximize execution speed.

Head over to the Documentation

Something went wrong with that request. Please try again.